Gemini and VertexAI can return rate-limit errors where the HTTP status is not 429 but the error code is embedded in the response body JSON (e.g., "code":429). Add regex-based detection of these embedded errors in both retry paths so they trigger exponential backoff correctly. |
||
|---|---|---|
| .. | ||
| calculateRequestCost.ts | ||
| calculateRequestCost.vitest.ts | ||
| extractContentFromCodeBlocks.test.ts | ||
| extractContentFromCodeBlocks.ts | ||
| extractPathsFromCodeBlocks.test.ts | ||
| extractPathsFromCodeBlocks.ts | ||
| getSecureID.test.ts | ||
| getSecureID.ts | ||
| retry.test.ts | ||
| retry.ts | ||
| starterCredits.ts | ||