We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b96b0e commit 876384aCopy full SHA for 876384a
packages/tasks/src/snippets/python.ts
@@ -48,7 +48,7 @@ stream = client.chat.completions.create(
48
)
49
50
for chunk in stream:
51
- print(chunk.choices[0].delta.content)`,
+ print(chunk.choices[0].delta.content, end="")`,
52
},
53
{
54
client: "openai",
@@ -69,7 +69,7 @@ stream = client.chat.completions.create(
69
70
71
72
73
74
];
75
} else {
0 commit comments