mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-08 06:24:08 +00:00
fix(utils.py): map vertex ai exceptions - rate limit error
This commit is contained in:
@@ -7884,6 +7884,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(
|
||||
|
||||
Reference in New Issue
Block a user