reduce some log
This commit is contained in:
@@ -199,7 +199,6 @@ class AgentNamespace(Namespace):
|
|||||||
if data['type'] == 'text':
|
if data['type'] == 'text':
|
||||||
res = user_uuid2ase_client[uuid].send_text('dialog', data['data'])
|
res = user_uuid2ase_client[uuid].send_text('dialog', data['data'])
|
||||||
chatmanager[uuid].chat_historys.append({'role': 'user', 'content': data['data']})
|
chatmanager[uuid].chat_historys.append({'role': 'user', 'content': data['data']})
|
||||||
self.app.logger.info(f"Send text to route 'dialog' success: {res}")
|
|
||||||
|
|
||||||
if data['type'] == 'function': # 在这里 前端会发送允许执行的function与参数
|
if data['type'] == 'function': # 在这里 前端会发送允许执行的function与参数
|
||||||
self.app.logger.info(f"function_call: {data['data']}")
|
self.app.logger.info(f"function_call: {data['data']}")
|
||||||
|
|||||||
Reference in New Issue
Block a user