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

Claude Code v2.1.199 ·

Agent API Error Recovery: Partial Output Surfaced

Entry
JSON All of v2.1.199
EntryKind: in v2.1.199,
ImprovementsSection of the release

When an agent (Task tool) terminates early due to an API error such as rate limiting, server overload, or server errors, Claude now recovers and presents the partial output the agent produced rather than discarding it entirely.

Details
  • A new AgentApiErrorTerminationError class captures early terminations caused by rate_limit, overloaded, or server_error API error kinds
  • The partial agent history is surfaced with a clear notice: "Everything below is PARTIAL output recovered from the agent before it was cut off. The agent did NOT finish its task — treat these results as incomplete."
  • This prevents complete loss of context when long-running agents hit transient API errors
Evidence

(search for "AgentApiErrorTerminationError", "PARTIAL output recovered from the agent")

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

See this entry in the whole of v2.1.199 →

Feedback