Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.328 ·

Stream idle timeout: raised limits and a message that says how to change them

The idle timeout on streaming responses can now be raised, and its error now says how to lengthen it with CLAUDE_STREAM_IDLE_TIMEOUT_MS or remove it

Group of 2 You'll notice Notable Improvements
JSON All of v2.1.328
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.

See this entry in the whole of v2.1.328 →

Feedback