{"version":"2.1.333","anchor":"first-byte-and-stream-idle-watchdogs-now-report-to-a-stall-t","canonical_anchor":"first-byte-and-stream-idle-watchdogs-now-report-to-a-stall-t","heading":"Waiting for an API response can now be cut short before the fixed timeout","tier":"internal","area":"Internals","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/first-byte-and-stream-idle-watchdogs-now-report-to-a-stall-t","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Waiting for an API response can now be cut short before the fixed timeout\n\nThe timeouts for a slow first response and an idle response stream can now report to a tracker that may end the wait early\n\n**Unclear.** It is not clear when a tracker is passed to these timers, so whether early cut-offs happen for a reader is unknown.\n\n**What**\n\nClaude Code has two timers that watch API requests: one for a response that has not started arriving, and one for a response that stops arriving partway. Both can now be given an optional tracker. The timers tell it when waiting starts and stops, and the tracker can end the wait sooner by setting its own, shorter first wait. Before, both timers ran for fixed times and nothing outside them could cut them short.\n\n**Why**\n\nIn practice, a stalled request could be abandoned sooner than the fixed timeout would allow.\n\n- Area: Internals\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}