log clear session

This commit is contained in:
CakeCN
2025-12-11 20:46:22 +08:00
parent 97cda4031b
commit 140ece742e
3 changed files with 1 additions and 2 deletions

View File

@@ -140,7 +140,6 @@ class AgentNamespace(Namespace):
if continue_learn:
for _ in range(need_skip_chapters):
chatmanager.next_chapter()
# 恢复对话历史到前端 - 使用批量发送消息列表
if chatmanager.chat_historys:
emit('messages', chatmanager.chat_historys, room=user_uuid, namespace='/agent')