From 93e872db6b7992cd4e582b38d605c0bd8de63258 Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Thu, 1 May 2025 02:08:19 +0800 Subject: [PATCH] 123 --- src/plugins/heartFC_chat/heartFC_chat.py | 6 ++---- src/plugins/heartFC_chat/normal_chat_generator.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/plugins/heartFC_chat/heartFC_chat.py b/src/plugins/heartFC_chat/heartFC_chat.py index b9c50b402..73d679e4e 100644 --- a/src/plugins/heartFC_chat/heartFC_chat.py +++ b/src/plugins/heartFC_chat/heartFC_chat.py @@ -446,7 +446,7 @@ class HeartFChatting: action_str = "回复表情" else: action_str = "不回复" - + logger.info(f"{self.log_prefix} 麦麦决定'{action_str}', 原因'{reasoning}'") return await self._handle_action( @@ -1001,9 +1001,7 @@ class HeartFChatting: } anchor_message = MessageRecv(placeholder_msg_dict) anchor_message.update_chat_stream(self.chat_stream) - logger.debug( - f"{self.log_prefix} 创建占位符锚点消息: ID={anchor_message.message_info.message_id}" - ) + logger.debug(f"{self.log_prefix} 创建占位符锚点消息: ID={anchor_message.message_info.message_id}") return anchor_message except Exception as e: diff --git a/src/plugins/heartFC_chat/normal_chat_generator.py b/src/plugins/heartFC_chat/normal_chat_generator.py index 6c7abc7dd..ea698bf2c 100644 --- a/src/plugins/heartFC_chat/normal_chat_generator.py +++ b/src/plugins/heartFC_chat/normal_chat_generator.py @@ -88,7 +88,7 @@ class NormalChatGenerator: content, reasoning_content, self.current_model_name = await model.generate_response(prompt) logger.debug(f"prompt:{prompt}\n生成回复:{content}") - + logger.info(f"对 {message.processed_plain_text} 的回复:{content}") info_catcher.catch_after_llm_generated(