log restart

This commit is contained in:
CakeCN
2025-12-11 20:16:24 +08:00
parent 2f48f1b6b4
commit 4a5a34b0aa

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}")
print(f"now user uuid {user_uuid}, start with restart={not 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)