mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +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
|
||||
raise APIError(
|
||||
message=f"VertexAIException - {error_str}",
|
||||
status_code=500,
|
||||
model=model,
|
||||
llm_provider="vertex_ai",
|
||||
request=original_exception.request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue