Tools
Claude Code 2.1.281 fixes proxies making truncated responses look complete and tool calls run twice
If a proxy or gateway closed the stream cleanly partway through a response, Claude Code showed that response as complete with no warning. Duplicated stream events could also run a tool call twice. v2.1.281 fixes both, keeps partial output when a proxy drops an event instead of failing with 'Content block not found', and keeps the stop reason when a proxy sends a trailing usage-only frame. Teams that route Claude Code through LiteLLM-style gateways were the ones exposed to silently cut-off answers and double-executed tools.
Source
↳ Follow the thread