Agent class description, visible in UI
This commit is contained in:
1 parent
e9ebb1378a
commit
6530ff0a24
4 files changed
+49
-1
No files matched your search
@@ -146,6 +146,9 @@ def start_server(app):
|
||||
elif action == "get-agent-kinds":
|
||||
await send({'message': "agents retrieved", 'kinds': app.get_agent_kinds(), 'nonce': nonce})
|
||||
|
||||
elif action == "get-agent-kind-info":
|
||||
await send({'message': "agent kind retrieved", 'info': app.get_agent_kind_info(body['kind']), 'nonce': nonce})
|
||||
|
||||
elif action == "get-agents":
|
||||
await send({'message': "agents retrieved", 'agents': app.get_agents(user_id), 'nonce': nonce})
|
||||
|
||||
|
||||
Reference in new issue
Block a user