fix: retry server_is_overloaded errors (#25888)
This commit is contained in:
parent
576480b5dc
commit
25ecf0af6b
1 changed files with 1 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ export function parseStreamError(input: unknown): ParsedStreamError | undefined
|
|||
isRetryable: false,
|
||||
responseBody,
|
||||
}
|
||||
case "server_is_overloaded":
|
||||
case "server_error":
|
||||
return {
|
||||
type: "api_error",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue