mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
copy
This commit is contained in:
parent
243d4d0727
commit
87b504a58f
1 changed files with 1 additions and 1 deletions
|
@ -85,6 +85,6 @@ class LiteLLMExceptions:
|
||||||
return ExInfo("APIConnectionError", False, "You need to: pip install boto3")
|
return ExInfo("APIConnectionError", False, "You need to: pip install boto3")
|
||||||
if "OpenrouterException" in str(ex) and "'choices'" in str(ex):
|
if "OpenrouterException" in str(ex) and "'choices'" in str(ex):
|
||||||
return ExInfo(
|
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))
|
return self.exceptions.get(ex.__class__, ExInfo(None, None, None))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue