forked from phoenix/litellm-mirror
fix(utils.py): expanding exception mapping coverage for vertex ai
This commit is contained in:
parent
936bd1e17d
commit
85932ac247
1 changed files with 1 additions and 1 deletions
|
@ -3682,7 +3682,7 @@ def exception_type(
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
response=original_exception.response
|
response=original_exception.response
|
||||||
)
|
)
|
||||||
elif "403 Permission denied" in error_str:
|
elif "403" in error_str:
|
||||||
exception_mapping_worked = True
|
exception_mapping_worked = True
|
||||||
raise AuthenticationError(
|
raise AuthenticationError(
|
||||||
message=f"VertexAIException - {error_str}",
|
message=f"VertexAIException - {error_str}",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue