Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.242 ·

API requests that never send response headers are now aborted

Hung requests are aborted when headers never arrive, and you can tune the window.

Use it now Notable New Features
JSON All of v2.1.242
Use it nowTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
InternalsArea: what it touches
New FeaturesKind: in v2.1.242,
What probably matters to youSection of the release
What

Streaming requests, and Bedrock POSTs to the invoke path, are now wrapped in a watchdog that aborts if the first response headers never arrive. The budget is computed from the request body size and API_TIMEOUT_MS, and CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS overrides it. Time the machine spent asleep is measured and reported separately, so a laptop that suspended mid-request is not mistaken for a hung server.

Details
  • Applies to armed requests only; other calls keep their existing timeout behaviour.
  • Aborts are reported under the tengu_api_no_response_timeout event with the sleep-adjusted duration.
Evidence

tengu_api_no_response_timeout

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

Read from
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 CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS, on Error reference. | [`CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS`](/docs/en/env-vars) | unset | Deadline in milliseconds for the first response byte of a streaming request. Requires Claude Code v2.1.242 or later. For how Claude Code picks the deadline when this is… errors see the edit
Confirmed since Anthropic's documentation has since written up API_TIMEOUT_MS, on Error reference. | [`API_TIMEOUT_MS`](/docs/en/env-vars) | 600000 | Per-request timeout in milliseconds. Raise it for slow networks or proxies. It also caps how long Claude Code waits for response headers, described in [No response from API](#no-response-f… errors see the edit
How sure we are
Two sources agreeTwo things we can check say the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up API_TIMEOUT_MS, on Error reference.
The name it cites is new in this buildNew in this build: CLAUDE_STREAM_FIRST_BYTE_TIMEOUT_MS

See this entry in the whole of v2.1.242 →

Feedback