mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
fix raise better error message on reaching failed vertex import
This commit is contained in:
parent
9d50fc1f2a
commit
80d8bf5d8f
1 changed files with 1 additions and 1 deletions
|
@ -437,7 +437,7 @@ def completion(
|
|||
except:
|
||||
raise VertexAIError(
|
||||
status_code=400,
|
||||
message="vertexai import failed please run `pip install google-cloud-aiplatform`",
|
||||
message="vertexai import failed please run `pip install google-cloud-aiplatform`. This is required for the 'vertex_ai/' route on LiteLLM",
|
||||
)
|
||||
|
||||
if not (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue