fix chapter now

This commit is contained in:
CakeCN
2025-12-14 14:33:29 +08:00
parent c8942cedac
commit cb435ecade
2 changed files with 2 additions and 5 deletions

View File

@@ -35,7 +35,6 @@ class ChatManager:
_lock = threading.RLock()
def __init__(self, restart=False):
self.restart = restart
self.chapter_chain_now = -1
self.ase_client = None
self.app = None
self.socketio = None
@@ -70,7 +69,7 @@ class ChatManager:
self.chapter_chain = load_chapters(raw_markdown, raw_markdown_prompts, raw_score_prompts)
self.bb = None
self.chat_historys = []
self.chapter_chain_now = -1
self.chapter_chain_now = 0
self.scores = []