Merge remote-tracking branch 'origin/main'
# Conflicts: # src/agent/base.py
This commit is contained in:
commit
3118e576da
4 changed files with 51 additions and 10 deletions
|
|
@ -43,5 +43,5 @@ async def websocket_endpoint(
|
|||
async def process_message(ws: WebSocket, chat: AgentChat, msg):
|
||||
match msg:
|
||||
case MsgUserMessage():
|
||||
async for chunk in chat.astream(msg.text):
|
||||
async for chunk in chat.astream(msg.text, msg.attachments):
|
||||
await ws.send_text(chunk.model_dump_json())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue