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 3d57fa0 commit 683c3bdCopy full SHA for 683c3bd
packages/tasks/src/snippets/python.ts
@@ -55,7 +55,7 @@ stream = client.chat.completions.create(
55
)
56
57
for chunk in stream:
58
- print(chunk.choices[0].delta.content)`,
+ print(chunk.choices[0].delta.content, end="")`,
59
},
60
{
61
client: "openai",
@@ -76,7 +76,7 @@ stream = client.chat.completions.create(
76
77
78
79
80
81
];
82
} else {
0 commit comments