mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(utils.py): map vertex ai exceptions - rate limit error
This commit is contained in:
parent
d1217b955a
commit
33d828a0ed
1 changed files with 2 additions and 0 deletions
|
@ -7884,6 +7884,8 @@ def exception_type(
|
||||||
elif (
|
elif (
|
||||||
"429 Quota exceeded" in error_str
|
"429 Quota exceeded" in error_str
|
||||||
or "IndexError: list index out of range" 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
|
exception_mapping_worked = True
|
||||||
raise RateLimitError(
|
raise RateLimitError(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue