forked from phoenix/litellm-mirror
(ci/cd) fix test_vertex_ai_stream
This commit is contained in:
parent
f2e8b2500f
commit
f138c15859
1 changed files with 2 additions and 3 deletions
|
@ -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 = ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue