mirror of
https://github.com/badlogic/pi-mono.git
synced 2026-10-19 07:23:59 +00:00
fix(ai): retry transient server-busy provider errors
Recognize server_busy and servers are currently busy as retryable errors. Fixes #10543
This commit is contained in:
parent
56b25ff4eb
commit
8b5708dbb1
2 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,10 @@
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `server_busy` and `servers are currently busy` provider errors ending the turn instead of being retried ([#10543](https://github.com/earendil-works/pi/issues/10543))
|
||||
|
||||
## [1.0.4] - 2026-10-05
|
||||
|
||||
### Fixed
|
||||
|
|
|
|||
|
|
@ -30,6 +30,8 @@ const NON_RETRYABLE_PROVIDER_LIMIT_ERROR_PATTERN = buildProviderErrorPattern([
|
|||
const RETRYABLE_PROVIDER_ERROR_PATTERN = buildProviderErrorPattern([
|
||||
// Generic provider load, HTTP status, and server-side transient failures.
|
||||
"overloaded",
|
||||
"server_busy",
|
||||
"servers are currently busy",
|
||||
"currently experiencing high demand",
|
||||
"model is at capacity",
|
||||
"rate.?limit",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue