Merge branch '#9-интеграция-composIO'
This commit is contained in:
commit
5c3f63b039
6 changed files with 104 additions and 5 deletions
|
|
@ -45,4 +45,3 @@ async def process_message(ws: WebSocket, chat: AgentChat, msg):
|
|||
case MsgUserMessage():
|
||||
async for chunk in chat.astream(msg.text):
|
||||
await ws.send_text(chunk.model_dump_json())
|
||||
await ws.send_text(MsgEventEnd(tokens_used=0).model_dump_json())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue