fix(utils.py): expanding exception mapping coverage for vertex ai

This commit is contained in:
Krrish Dholakia 2023-11-18 20:05:21 -08:00
parent 936bd1e17d
commit 85932ac247

View file

@ -3682,7 +3682,7 @@ def exception_type(
llm_provider="vertex_ai",
response=original_exception.response
)
elif "403 Permission denied" in error_str:
elif "403" in error_str:
exception_mapping_worked = True
raise AuthenticationError(
message=f"VertexAIException - {error_str}",