Skip to content

Commit c747eda

Browse files
committed
fix test
1 parent 876384a commit c747eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tasks/src/snippets/python.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ stream = client.chat.completions.create(
3131
)
3232
3333
for chunk in stream:
34-
print(chunk.choices[0].delta.content)`);
34+
print(chunk.choices[0].delta.content, end="")`);
3535
});
3636

3737
it("conversational vlm", async () => {
@@ -73,6 +73,6 @@ stream = client.chat.completions.create(
7373
)
7474
7575
for chunk in stream:
76-
print(chunk.choices[0].delta.content)`);
76+
print(chunk.choices[0].delta.content, end="")`);
7777
});
7878
});

0 commit comments

Comments
 (0)