diff --git a/src/cli/App.tsx b/src/cli/App.tsx index 91d6498..8884ff8 100644 --- a/src/cli/App.tsx +++ b/src/cli/App.tsx @@ -247,6 +247,7 @@ async function isRetriableError( "Google Vertex API error", // google_vertex_client.py:848 "overloaded", // anthropic_client.py:753 - used for LLMProviderOverloaded "api_error", // Anthropic SDK error type field + "Network error", // Transient network failures during streaming ]; if ( errorType === "internal_error" && diff --git a/src/headless.ts b/src/headless.ts index 6254450..b3a5cbb 100644 --- a/src/headless.ts +++ b/src/headless.ts @@ -1268,6 +1268,7 @@ export async function handleHeadlessCommand( "Google Vertex API error", // google_vertex_client.py:848 "overloaded", // anthropic_client.py:753 - used for LLMProviderOverloaded "api_error", // Anthropic SDK error type field + "Network error", // Transient network failures during streaming ]; const isLlmErrorFromDetail = errorType === "internal_error" &&