Merge remote-tracking branch 'origin/main'

# Conflicts:
#	src/agent/base.py
This commit is contained in:
Егор Кандрушин 2026-04-22 10:08:23 +03:00
commit 3118e576da
4 changed files with 51 additions and 10 deletions

View file

@ -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())