mirror of https://github.com/openclaw/openclaw.git
* fix(agents): classify Anthropic "unexpected error" api_error as transient (#57010) Anthropic sometimes returns api_error payloads with message "An unexpected error occurred while processing the response" during mid-stream failures. This was not matched by API_ERROR_TRANSIENT_SIGNALS_RE, causing the error to surface as terminal instead of triggering retry/fallback. Add "unexpected error" to the transient signal regex. This follows the same pattern as prior fixes for "Internal server error" (#23193) and overloaded_error 529 (#34535). Closes #57010 * chore(changelog): add anthropic failover entry --------- Co-authored-by: Vincent Koc <vincentkoc@ieee.org> |
||
|---|---|---|
| .. | ||
| bootstrap.ts | ||
| errors.ts | ||
| failover-matches.ts | ||
| google.ts | ||
| images.ts | ||
| messaging-dedupe.ts | ||
| openai.ts | ||
| thinking.test.ts | ||
| thinking.ts | ||
| turns.ts | ||
| types.ts | ||