mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix - test exceptions vertex ai
This commit is contained in:
parent
7150df653f
commit
85b2137f9c
1 changed files with 1 additions and 2 deletions
|
@ -605,8 +605,7 @@ def test_litellm_completion_vertex_exception():
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("exception: ", e)
|
print("exception: ", e)
|
||||||
assert "model: vertex_ai/gemini-pro" in str(e)
|
assert "model: vertex_ai/gemini-pro" in str(e)
|
||||||
assert "model_group" not in str(e)
|
assert "vertex_project: bad-project" in str(e)
|
||||||
assert "deployment" not in str(e)
|
|
||||||
|
|
||||||
|
|
||||||
# # test_invalid_request_error(model="command-nightly")
|
# # test_invalid_request_error(model="command-nightly")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue