This commit is contained in:
CakeCN
2025-12-11 20:17:38 +08:00
parent 4a5a34b0aa
commit 23bfc73bcf

View File

@@ -66,7 +66,7 @@ def desktop(user_uuid, course_id, chapter_name, lesson_name):
chatmanager = ChatManager(restart=not load_history)
print(f"now user uuid {user_uuid}, start with restart={not load_history}")
print(f"now user uuid {user_uuid}, start with restart={not load_history} load_history={load_history}")
current_app.extensions["user_uuid2chatmanager"][user_uuid] = chatmanager
code_server_port = 10000 + int(uuid.uuid4().int % 10000)
# chatmanager.start_code_server(user_uuid, user_id, path_dir, code_server_port)