This commit is contained in:
Paul Gauthier 2025-03-27 09:03:40 -10:00
parent 243d4d0727
commit 87b504a58f

View file

@ -85,6 +85,6 @@ class LiteLLMExceptions:
return ExInfo("APIConnectionError", False, "You need to: pip install boto3")
if "OpenrouterException" in str(ex) and "'choices'" in str(ex):
return ExInfo(
"APIConnectionError", True, "The OpenRouter API provider is down or offline"
"APIConnectionError", True, "The OpenRouter API provider is down or overloaded."
)
return self.exceptions.get(ex.__class__, ExInfo(None, None, None))