{"version":"2.1.222","anchor":"byte-watchdog-covers-first-party-gateway-and-bedrock-streams","canonical_anchor":"byte-watchdog-covers-first-party-gateway-and-bedrock-streams","heading":"Byte watchdog covers first-party, gateway and Bedrock streams","tier":"use","area":"Streaming","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.222\/e\/byte-watchdog-covers-first-party-gateway-and-bedrock-streams","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.222","markdown":"### Byte watchdog covers first-party, gateway and Bedrock streams\n\nStalled streams are now detected across direct, gateway and Bedrock connections, and you can force it with an env var.\n\n**What**\n\nThe rule for wrapping a text\/event-stream body in the stall watchdog was widened from a single caller-supplied boolean to name the providers explicitly.\n\n**Details**\n\n- Now instruments firstParty, gateway and anthropicAws responses.\n- Gated on tengu_stream_watchdog_default_on, which falls back to true when the flag is unavailable.\n- CLAUDE_ENABLE_BYTE_WATCHDOG overrides the decision, and CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK covers Bedrock specifically.\n\n**Evidence**\n\n`tengu_stream_watchdog_default_on`\n\n- Flag `tengu_stream_watchdog_default_on`: Not enough to say (read for one account on one subscription tier against v2.1.222; this account: no value returned, anonymous baseline: no value returned, compiled default: on) 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: Streaming\n- Names: `CLAUDE_ENABLE_BYTE_WATCHDOG`, `CLAUDE_ENABLE_BYTE_WATCHDOG_BEDROCK`\n- Tier: Use it now\n- Useful: 4\/5\n- Signal: 0\/5"}