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 ec9aeac commit abec38fCopy full SHA for abec38f
examples/tutorials/00_sync/020_streaming/project/acp.py
@@ -97,7 +97,7 @@ async def handle_message_send(
97
yield StreamTaskMessageDelta(
98
type="delta",
99
index=message_index,
100
- delta=TextDelta(text_delta=chunk.choices[0].delta.content or ""),
+ delta=TextDelta(type="text", text_delta=chunk.choices[0].delta.content or ""),
101
)
102
103
yield StreamTaskMessageDone(
0 commit comments