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.295 ·

Stream idle and API timeouts can now come from a config, with API_FORCE_IDLE_TIMEOUT taking precedence

Idle and request timeouts can now be set from a config (bodyIdleTimeout, stream_idle_timeout_ms, api_timeout_ms) when the env vars are unset

Group of 3 Use it now Improvements
JSON All of v2.1.295
Use it nowTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
StreamingArea: what it touches
ImprovementsKind: in v2.1.295,
What probably matters to youSection of the release

Unclear Whether bodyIdleTimeout is something a user can set, and what it defaults to, is not settled.

What

A timeout is how long Claude Code waits before giving up. The body idle timeout stops a streaming reply when no data arrives for too long.

  • API_FORCE_IDLE_TIMEOUT, when set to a true or false value, now takes precedence. Otherwise a new bodyIdleTimeout option decides whether the idle timeout applies.
  • The API client reads a body_idle_timeout value from a config object and passes it on as bodyIdleTimeout only when it is true or false.
  • CLAUDE_STREAM_IDLE_TIMEOUT_MS now falls back to a stream_idle_timeout_ms config value. That value must be a whole number within limits and is capped at the maximum.
  • If API_TIMEOUT_MS is unset, the request timeout now comes from api_timeout_ms in the same config, still defaulting to 600000 (10 minutes).
  • A new lower limit keeps a timeout at no less than 300000 milliseconds (5 minutes).
  • Provider setup now takes the provider and a resolved value instead of the old region helpers.

Why

If you see stalled streams or early timeouts, the environment variables still win when set, but when they are not, the values may now come from a config rather than fixed defaults.

Read from
Names in the bundleAPI_FORCE_IDLE_TIMEOUT
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up API_FORCE_IDLE_TIMEOUT, on Enterprise network configuration. | Body idle timeout | No bytes arrive for 5 minutes, counting the wait for response headers | Providers other than the direct Anthropic API, Claude Platform on AWS, and Amazon Bedrock with `CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK=1` set, unles… network-config see the edit
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 doubtWhether `bodyIdleTimeout` is something a user can set, and what it defaults to, is not settled.
Anthropic's documentation agreesAnthropic's documentation has since written up API_FORCE_IDLE_TIMEOUT, on Enterprise network configuration.

See this entry in the whole of v2.1.295 →

Feedback