This commit is contained in:
SengokuCola
2025-05-01 02:08:19 +08:00
parent 54fe078e90
commit 93e872db6b
2 changed files with 3 additions and 5 deletions

View File

@@ -446,7 +446,7 @@ class HeartFChatting:
action_str = "回复表情" action_str = "回复表情"
else: else:
action_str = "不回复" action_str = "不回复"
logger.info(f"{self.log_prefix} 麦麦决定'{action_str}', 原因'{reasoning}'") logger.info(f"{self.log_prefix} 麦麦决定'{action_str}', 原因'{reasoning}'")
return await self._handle_action( return await self._handle_action(
@@ -1001,9 +1001,7 @@ class HeartFChatting:
} }
anchor_message = MessageRecv(placeholder_msg_dict) anchor_message = MessageRecv(placeholder_msg_dict)
anchor_message.update_chat_stream(self.chat_stream) anchor_message.update_chat_stream(self.chat_stream)
logger.debug( logger.debug(f"{self.log_prefix} 创建占位符锚点消息: ID={anchor_message.message_info.message_id}")
f"{self.log_prefix} 创建占位符锚点消息: ID={anchor_message.message_info.message_id}"
)
return anchor_message return anchor_message
except Exception as e: except Exception as e:

View File

@@ -88,7 +88,7 @@ class NormalChatGenerator:
content, reasoning_content, self.current_model_name = await model.generate_response(prompt) content, reasoning_content, self.current_model_name = await model.generate_response(prompt)
logger.debug(f"prompt:{prompt}\n生成回复:{content}") logger.debug(f"prompt:{prompt}\n生成回复:{content}")
logger.info(f"{message.processed_plain_text} 的回复:{content}") logger.info(f"{message.processed_plain_text} 的回复:{content}")
info_catcher.catch_after_llm_generated( info_catcher.catch_after_llm_generated(