mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
Merge branch 'main' into litellm_vertex_migration
This commit is contained in:
commit
bc2a96b2a5
505 changed files with 40319 additions and 23798 deletions
|
@ -710,7 +710,9 @@ def completion(
|
|||
except Exception as e:
|
||||
if isinstance(e, VertexAIError):
|
||||
raise e
|
||||
raise VertexAIError(status_code=500, message=str(e))
|
||||
raise litellm.APIConnectionError(
|
||||
message=str(e), llm_provider="vertex_ai", model=model
|
||||
)
|
||||
|
||||
|
||||
async def async_completion(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue