fix(utils.py): vertex ai exception mapping

This commit is contained in:
Krrish Dholakia 2023-12-19 15:25:29 +00:00
parent 5936664a16
commit c5340b8709

View file

@ -4719,7 +4719,7 @@ def exception_type(
)
elif "403" in error_str:
exception_mapping_worked = True
raise U(
raise BadRequestError(
message=f"VertexAIException - {error_str}",
model=model,
llm_provider="vertex_ai",