From a210f5bac34b0b54bcd2f0dc3a9f0e3af6fcec11 Mon Sep 17 00:00:00 2001 From: CakeCN Date: Mon, 8 Dec 2025 13:25:46 +0800 Subject: [PATCH] no chapter_dict show --- Html/apps/extension_ase/ase_client/client.py | 2 +- Html/apps/utils/chapterUtil.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Html/apps/extension_ase/ase_client/client.py b/Html/apps/extension_ase/ase_client/client.py index 876cf4a..433cf3c 100644 --- a/Html/apps/extension_ase/ase_client/client.py +++ b/Html/apps/extension_ase/ase_client/client.py @@ -210,7 +210,7 @@ class ASEngineClient: # 发送数据 self.sio.emit(route, data, namespace=self.namespace) - print(f"Sent text to route '{route}': {text}") + print(f"Sent text to route '{route}': {text[:20]}") # 如果不需要等待ACK,直接返回True if not wait_for_ack: diff --git a/Html/apps/utils/chapterUtil.py b/Html/apps/utils/chapterUtil.py index aaf0a22..e027a41 100644 --- a/Html/apps/utils/chapterUtil.py +++ b/Html/apps/utils/chapterUtil.py @@ -156,7 +156,6 @@ def load_chapters(markdown, markdown_prompt, score_prompt): chapter_chain = [] No = 1 - print (chapter_dict) for chapter_name in chapter_sequence: chapter_chain.append(Chapter( No, CHAPTER_LATTER, chapter_name, chapter_dict[chapter_name]["markdown"], chapter_dict[chapter_name]["markdown_prompt"], chapter_dict[chapter_name]["score_prompt"],chapter_dict[chapter_name]["require_tools"])) No+=1