fix(utils.py): vertex ai api error exception mapping
This commit is contained in:
parent
94dc3f66f3
commit
1cf85b4eb9
@ -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…
Reference in New Issue
Block a user