diff --git a/src/plugins/PFC/PFC_idle/idle_chat.py b/src/plugins/PFC/PFC_idle/idle_chat.py index 61f78574..131738df 100644 --- a/src/plugins/PFC/PFC_idle/idle_chat.py +++ b/src/plugins/PFC/PFC_idle/idle_chat.py @@ -160,7 +160,7 @@ class IdleChat: """启动主动聊天检测""" # 检查是否启用了主动聊天功能 if not global_config.enable_idle_chat: - logger.info(f"[私聊][{self.private_name}]主动聊天功能已禁用(配置ENABLE_IDLE_CHAT=False)") + logger.info(f"[私聊][{self.private_name}]主动聊天功能已禁用(配置enable_idle_chat=False)") return if self._running: diff --git a/src/plugins/PFC/pfc_utils.py b/src/plugins/PFC/pfc_utils.py index b0fb0bd0..3747dc13 100644 --- a/src/plugins/PFC/pfc_utils.py +++ b/src/plugins/PFC/pfc_utils.py @@ -284,7 +284,6 @@ async def retrieve_contextual_info( retrieved_historical_chat_str = "无相关私聊历史回忆。" # --- 1. 全局压缩记忆检索 (来自 HippocampusManager) --- - # (保持你原始 pfc_utils.py 中这部分的逻辑基本不变) global_memory_log_msg = f"开始全局压缩记忆检索 (基于文本: '{text[:30]}...')" if text and text.strip() and text != "还没有聊天记录。" and text != "[构建聊天记录出错]": try: