From cc7920c002196ee9aa997d8dc276b0d45acc9fbd Mon Sep 17 00:00:00 2001 From: minecraft1024a Date: Sat, 13 Sep 2025 21:37:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(chat):=20=E5=A2=9E=E5=8A=A0=E5=9B=9E?= =?UTF-8?q?=E5=A4=8D=E5=8A=A8=E4=BD=9C=E7=9A=84=E6=B6=88=E6=81=AF=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在执行回复动作前,增加对 `action_message` 的日志输出,方便调试和追踪回复流程中的具体消息内容。 --- src/chat/chat_loop/cycle_processor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/chat/chat_loop/cycle_processor.py b/src/chat/chat_loop/cycle_processor.py index 06f1b6a36..c26b60876 100644 --- a/src/chat/chat_loop/cycle_processor.py +++ b/src/chat/chat_loop/cycle_processor.py @@ -299,6 +299,7 @@ class CycleProcessor: logger.info(f"{self.log_prefix} 正在执行文本回复...") for action in reply_actions: target_user_id = action.get("action_message",{}).get("chat_info_user_id","") + logger.info(action.get("action_message",{})) if target_user_id == global_config.bot.qq_account and not global_config.chat.allow_reply_self: logger.warning("选取的reply的目标为bot自己,跳过reply action") continue