Improve message schema, assign or create main agent chat automatically

This commit is contained in:
Shivering Ocelot committed 2025-07-05 05:51:03 -05:00
1 parent 4aa374820c
commit b907698829
3 files changed
+47 -33

No files matched your search

+2 -1
View File
@@ -119,9 +119,10 @@ def start_server(app):
await send({'message': "pong"})
elif action == "create-agent":
name = body['name']
agent_id = app.create_agent(
user_id=user_id,
name=body['name'],
name=name,
agentname=body.get('agentname'),
description=body.get('description'),
picture=body.get('picture'),