forked from phoenix/litellm-mirror
fix(utils.py): vertex ai api error exception mapping
This commit is contained in:
parent
94dc3f66f3
commit
1cf85b4eb9
1 changed files with 1 additions and 0 deletions
|
@ -3829,6 +3829,7 @@ def exception_type(
|
||||||
exception_mapping_worked = True
|
exception_mapping_worked = True
|
||||||
raise APIError(
|
raise APIError(
|
||||||
message=f"VertexAIException - {error_str}",
|
message=f"VertexAIException - {error_str}",
|
||||||
|
status_code=500,
|
||||||
model=model,
|
model=model,
|
||||||
llm_provider="vertex_ai",
|
llm_provider="vertex_ai",
|
||||||
request=original_exception.request
|
request=original_exception.request
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue