streamed messages

This commit is contained in:
Shivering Ocelot committed 2026-01-17 12:11:13 -05:00
1 parent f2a6fc0cd5
commit 7114d91403
7 files changed
+107 -34

No files matched your search

+2 -2
View File
@@ -170,7 +170,7 @@ def start_server(app):
elif action == "get-models":
await send({
'models': [{"id": model.id, "name": model.name} for model in await app.get_models()],
'models': [{"id": model.id, "name": model.name, "value": model.value} for model in await app.get_models()],
'nonce': nonce
})
@@ -262,7 +262,7 @@ def start_server(app):
body.get('input'),
body.get('options', {})
)
await send({'message': "propmt sent", 'response': response, 'nonce': nonce})
await send({'message': "prompt sent", 'response': response, 'nonce': nonce})
elif action == "call-agent-action":
result = await app.call_agent_action(body['agentId'], body['agentAction'], body['arguments'])