fix: Add BadGatewayError to exceptions list

Co-authored-by: aider (gemini/gemini-3-flash-preview) <aider@aider.chat>
This commit is contained in:
Paul Gauthier
2025-12-18 10:33:52 -08:00
parent 7e292a2efc
commit 2c39cb68c7

View File

@@ -20,6 +20,7 @@ EXCEPTIONS = [
"The API provider is not able to authenticate you. Check your API key.",
),
ExInfo("AzureOpenAIError", True, None),
ExInfo("BadGatewayError", True, "The API provider's servers are down or overloaded."),
ExInfo("BadRequestError", False, None),
ExInfo("BudgetExceededError", True, None),
ExInfo(