mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix(utils.py): vertex ai exception mapping
fixes check which caused all vertex errors to be ratelimit errors
This commit is contained in:
parent
de9258e700
commit
4c0ba026a7
1 changed files with 1 additions and 1 deletions
|
@ -7766,7 +7766,7 @@ def exception_type(
|
|||
)
|
||||
elif (
|
||||
"429 Quota exceeded" in error_str
|
||||
or "IndexError: list index out of range"
|
||||
or "IndexError: list index out of range" in error_str
|
||||
):
|
||||
exception_mapping_worked = True
|
||||
raise RateLimitError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue