mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-07 02:59:05 +00:00
(ci/cd) vertex test
This commit is contained in:
parent
7585b58d2d
commit
0354d6d48f
1 changed files with 4 additions and 2 deletions
|
|
@ -68,8 +68,9 @@ def test_vertex_ai():
|
|||
import random
|
||||
|
||||
load_vertex_ai_credentials()
|
||||
test_models = ["codechat-bison"] + litellm.vertex_chat_models + litellm.vertex_code_chat_models + litellm.vertex_text_models + litellm.vertex_code_text_models
|
||||
test_models = litellm.vertex_chat_models + litellm.vertex_code_chat_models + litellm.vertex_text_models + litellm.vertex_code_text_models
|
||||
litellm.set_verbose=False
|
||||
litellm.vertex_project = "hardy-device-386718"
|
||||
|
||||
test_models = random.sample(test_models, 4)
|
||||
for model in test_models:
|
||||
|
|
@ -90,9 +91,10 @@ def test_vertex_ai():
|
|||
def test_vertex_ai_stream():
|
||||
load_vertex_ai_credentials()
|
||||
litellm.set_verbose=False
|
||||
litellm.vertex_project = "hardy-device-386718"
|
||||
import random
|
||||
|
||||
test_models = ["codechat-bison"] + litellm.vertex_chat_models + litellm.vertex_code_chat_models + litellm.vertex_text_models + litellm.vertex_code_text_models
|
||||
test_models = litellm.vertex_chat_models + litellm.vertex_code_chat_models + litellm.vertex_text_models + litellm.vertex_code_text_models
|
||||
test_models = random.sample(test_models, 4)
|
||||
for model in test_models:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue