Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.199 Home All releases olderv2.1.198 v2.1.200newer

Agent API Error Recovery: Partial Output Surfaced

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 →