From f2f59e459119a223d0d1f7035815572b2ecfcb0a Mon Sep 17 00:00:00 2001 From: jnjpng Date: Mon, 16 Feb 2026 13:40:16 -0800 Subject: [PATCH] fix(retry): broaden ChatGPT error pattern to catch all ChatGPT API errors (#978) --- src/cli/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/App.tsx b/src/cli/App.tsx index b630e7c..d962557 100644 --- a/src/cli/App.tsx +++ b/src/cli/App.tsx @@ -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