forked from phoenix/litellm-mirror
fix(utils.py): vertex ai exception mapping
This commit is contained in:
parent
5936664a16
commit
c5340b8709
1 changed files with 1 additions and 1 deletions
|
@ -4719,7 +4719,7 @@ def exception_type(
|
||||||
)
|
)
|
||||||
elif "403" in error_str:
|
elif "403" in error_str:
|
||||||
exception_mapping_worked = True
|
exception_mapping_worked = True
|
||||||
raise U(
|
raise BadRequestError(
|
||||||
message=f"VertexAIException - {error_str}",
|
message=f"VertexAIException - {error_str}",
|
||||||
model=model,
|
model=model,
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue