forked from phoenix/litellm-mirror
Merge branch 'BerriAI:main' into feature/watsonx-integration
This commit is contained in:
commit
7b2bd2e0e8
4 changed files with 12 additions and 4 deletions
|
@ -7927,6 +7927,8 @@ def exception_type(
|
|||
elif (
|
||||
"429 Quota exceeded" in error_str
|
||||
or "IndexError: list index out of range" in error_str
|
||||
or "429 Unable to submit request because the service is temporarily out of capacity."
|
||||
in error_str
|
||||
):
|
||||
exception_mapping_worked = True
|
||||
raise RateLimitError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue