feat: connect chat and runs, cancellable chat messages, unified frontend runs module

This commit is contained in:
Shivering Ocelot committed 2026-05-31 12:48:06 -05:00
1 parent d7e92f38f3
commit bc71fa4d59
7 files changed
+244 -119

No files matched your search

+1 -7
View File
@@ -141,7 +141,7 @@ async def start_server(app):
# Listen for events and broadcast them
async def on_event(name, data):
await send({"action": "event", "name": name, "data": data})
await send({"action": name, "data": data})
app.on_event(on_event)
while True:
@@ -153,12 +153,6 @@ async def start_server(app):
body = req.get('body', {})
nonce = req.get('nonce', None)
def get_agent_id ():
raise Exception("Cannot get agent id")
def get_chat_id ():
raise Exception("Cannot get chat id")
if action == "ping":
await send({'message': "pong"})