history 重构

This commit is contained in:
CakeCN
2025-12-14 14:07:27 +08:00
parent 5438dc99ba
commit 1f6e75f006
4 changed files with 70 additions and 38 deletions

View File

@@ -70,6 +70,9 @@ 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.scores = []
def send_to_vscode(self, event: str, data: dict, room: str = None, namespace: str = '/vscode'):