What's wrong with this entry?
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.
- A new
AgentApiErrorTerminationErrorclass captures early terminations caused byrate_limit,overloaded, orserver_errorAPI 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
(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.