mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
fix(utils.py): vertex ai api error exception mapping
This commit is contained in:
parent
90385ef6a5
commit
c89c41b3dc
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