前端对话历史
This commit is contained in:
@@ -34,8 +34,8 @@ def on_connect_to_ase(client, entry, init_data, **kwargs):
|
||||
clear_user_session(namespace_entry, init_data['room'])
|
||||
|
||||
restart = init_data.get("restart", False)
|
||||
ase_client.chatmanager.load_now_chapter(load_code=restart)
|
||||
if restart:
|
||||
ase_client.chatmanager.load_now_chapter()
|
||||
ase_client.send_text("chapter-start", "")
|
||||
namespace_entry.emit('message', "教案加载完毕", room=init_data['room'], namespace='/agent')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user