123
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user