From fff7429b6c4d4087fe4a046197900435d8097690 Mon Sep 17 00:00:00 2001 From: Bakadax Date: Fri, 2 May 2025 07:11:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E8=B0=83=E8=AF=95=E8=AF=AD?= =?UTF-8?q?=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/heartFC_chat/heartFC_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/heartFC_chat/heartFC_chat.py b/src/plugins/heartFC_chat/heartFC_chat.py index cb637081..6d3e22ef 100644 --- a/src/plugins/heartFC_chat/heartFC_chat.py +++ b/src/plugins/heartFC_chat/heartFC_chat.py @@ -875,7 +875,7 @@ class HeartFChatting: ) # 调用工具函数获取格式化后的绰号字符串 nickname_injection_str = await get_nickname_injection_for_prompt(self.chat_stream, message_list_before_now) - print(nickname_injection_str) + # --- 构建提示词 (调用修改后的 PromptBuilder 方法) --- prompt = await prompt_builder.build_planner_prompt( is_group_chat=self.is_group_chat, # <-- Pass HFC state