(ci/cd) fix test_vertex_ai_stream

This commit is contained in:
Ishaan Jaff 2024-05-15 16:32:40 -07:00
parent f2e8b2500f
commit f138c15859

View file

@ -376,9 +376,8 @@ def test_vertex_ai_stream():
print("making request", model) print("making request", model)
response = completion( response = completion(
model=model, model=model,
messages=[ messages=[{"role": "user", "content": "hello tell me a short story"}],
{"role": "user", "content": "write 10 line code code for saying hi"} max_tokens=15,
],
stream=True, stream=True,
) )
completed_str = "" completed_str = ""