{"version":"2.1.299","anchor":"byte-stream-idle-timeout-default-now-applies-only-to-firstpa","canonical_anchor":"byte-stream-idle-timeout-default-now-applies-only-to-firstpa","heading":"Remote byte-stream idle timeout default now applies only to the Anthropic API","tier":"notice","area":"API Requests","scope":"both","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299\/e\/byte-stream-idle-timeout-default-now-applies-only-to-firstpa","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.299","markdown":"### Remote byte-stream idle timeout default now applies only to the Anthropic API\n\nThe remotely supplied default for the byte-stream idle timeout is now used only for the Anthropic API, not Bedrock, Vertex or other providers\n\n**Unclear.** It is not settled what timeout applies on providers other than the Anthropic API now.\n\n**What**\n\nThe byte-stream idle timeout is how long Claude Code waits when a reply arrives with no new data before treating the stream as stalled. You can also set it yourself with `CLAUDE_BYTE_STREAM_IDLE_TIMEOUT_MS`. Claude Code can receive a default for this timeout from Anthropic's servers. It now uses that default only when it talks to the Anthropic API directly. When you use another provider, such as Bedrock or Vertex, it no longer falls back to that default.\n\nBefore, the fallback applied to every provider, with a different default for providers other than the Anthropic API.\n\n**Why**\n\nThis changes how stalled replies are handled on Bedrock, Vertex and other providers.\n\n- Flag `tengu_byte_stream_idle_timeout_ms`: Not enough to say (read for one account on one subscription tier against v2.1.299; this account: no value returned, anonymous baseline: no value returned, compiled default: not a boolean we can read) These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.\n- Area: API Requests\n- Names: `CLAUDE_BYTE_STREAM_IDLE_TIMEOUT_MS`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: both\n- Heads-up: yes"}