From 75795dd853675fe7e6165aab8d40dfb20f649304 Mon Sep 17 00:00:00 2001 From: CakeCN Date: Thu, 8 Jan 2026 20:52:51 +0800 Subject: [PATCH] fix previous --- Html/apps/sockets/namespaces.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Html/apps/sockets/namespaces.py b/Html/apps/sockets/namespaces.py index 6a5c2c6..171c50e 100644 --- a/Html/apps/sockets/namespaces.py +++ b/Html/apps/sockets/namespaces.py @@ -68,7 +68,7 @@ class AgentNamespace(Namespace): user_uuid = request.args.get('user_uuid') folder = request.args.get('folder') print(f'Agent client connected with user_uuid: {user_uuid}, folder: {folder}') - join_room(user_id, namespace='/agent') + join_room(user_uuid, namespace='/agent') def _load_learning_progress(self, chatmanager, user_id, course_id, chapter_name, lesson_name, continue_learn): """加载并恢复用户学习进度