(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)
response = completion(
model=model,
messages=[
{"role": "user", "content": "write 10 line code code for saying hi"}
],
messages=[{"role": "user", "content": "hello tell me a short story"}],
max_tokens=15,
stream=True,
)
completed_str = ""