You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
InternalsArea: what it touches
ImprovementsKind: in v2.1.328,
What probably matters to youSection of the release
Unclear Where the raised timeout value comes from, and whether a reader can set it, is not clear.
What
When Claude answers, the reply arrives as a stream of small pieces. If no data arrives for too long, the request is stopped. Two things changed around this limit:
The network connection can now be given a raised, specific timeout from raisedBodyIdleTimeoutMs instead of only having its timeout turned off. The timeout is still turned off when the Anthropic API has its own idle watchdog, a separate check for silent streams.
The message shown when no data arrives now says it has waited more than a given number of minutes and suggests raising CLAUDE_STREAM_IDLE_TIMEOUT_MS, an environment variable you set in your shell. If you are already at the highest value, it says that is the longest CLAUDE_STREAM_IDLE_TIMEOUT_MS allows, and that API_FORCE_IDLE_TIMEOUT=0 removes the limit.
Why
Long-running streams are less likely to be cut off by the default network timeout, and if you hit the limit, the message tells you which setting to change.
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtWhere the raised timeout value comes from, and whether a reader can set it, is not clear.