load now chapter with restart

This commit is contained in:
CakeCN
2025-12-11 20:00:15 +08:00
parent b175407d4b
commit 2f48f1b6b4
3 changed files with 7 additions and 8 deletions

View File

@@ -150,7 +150,7 @@ class AgentNamespace(Namespace):
user_uuid2ase_client[user_uuid].register_on_connect_entry(
callback=on_connect_to_ase,
entry=(self, user_uuid2ase_client[user_uuid]),
init_data={'room':user_uuid, 'restart':chatmanager.restart}
init_data={'room':user_uuid, 'restart':chatmanager.restart, 'asengine_url':current_app.config["ASE_ENGINE_URL"], 'asengine_token':current_app.config["ASE_ENGINE_URL_TOKEN"]}
)
user_uuid2ase_client[user_uuid].register_route_with_entry(
route='dialog',