From baf7271ce2794a41b6136f89c42b716ed99fe0fd Mon Sep 17 00:00:00 2001 From: CakeCN Date: Fri, 12 Sep 2025 14:02:05 +0800 Subject: [PATCH] log send text success --- Html/apps/sockets/namespaces.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Html/apps/sockets/namespaces.py b/Html/apps/sockets/namespaces.py index a747525..c7cc79a 100644 --- a/Html/apps/sockets/namespaces.py +++ b/Html/apps/sockets/namespaces.py @@ -103,7 +103,8 @@ class AgentNamespace(Namespace): if (type(data)==str): data = json.loads(data) if data['type'] == 'text': - user_uuid2ase_client[uuid].send_text('dialog', data['data']) + res = user_uuid2ase_client[uuid].send_text('dialog', data['data']) + print(f"Send text to route 'dialog' success: {res}") # print('=*='*20) # print(res.content) # reply = f"{res.content['speak']}"