fix(retry): broaden ChatGPT error pattern to catch all ChatGPT API errors (#978)

This commit is contained in:
jnjpng
2026-02-16 13:40:16 -08:00
committed by GitHub
parent 48a448dd59
commit f2f59e4591

View File

@@ -494,7 +494,7 @@ async function isRetriableError(
const llmProviderPatterns = [
"Anthropic API error", // anthropic_client.py:759
"OpenAI API error", // openai_client.py:1034
"ChatGPT API error: upstream connect error", // chatgpt_oauth_client.py - upstream connect errors
"ChatGPT API error", // chatgpt_oauth_client.py - upstream connect errors
"Google Vertex API error", // google_vertex_client.py:848
"overloaded", // anthropic_client.py:753 - used for LLMProviderOverloaded
"api_error", // Anthropic SDK error type field