From e717bc34b05978cbd3641030eaf2c32f71154da7 Mon Sep 17 00:00:00 2001 From: SengokuCola <1026294844@qq.com> Date: Thu, 3 Apr 2025 23:03:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=80debug=E5=80=92=E5=8F=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/chat/bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/chat/bot.py b/src/plugins/chat/bot.py index 9046198c9..d5fc303a6 100644 --- a/src/plugins/chat/bot.py +++ b/src/plugins/chat/bot.py @@ -78,6 +78,7 @@ class ChatBot: message = MessageRecv(message_data) groupinfo = message.message_info.group_info + logger.debug(f"开始处理消息{message_data}") if global_config.enable_pfc_chatting: try: @@ -95,9 +96,11 @@ class ChatBot: await self._create_PFC_chat(message) else: if groupinfo.group_id in global_config.talk_allowed_groups: + logger.debug(f"开始群聊模式{message_data}") if global_config.response_mode == "heart_flow": await self.think_flow_chat.process_message(message_data) elif global_config.response_mode == "reasoning": + logger.debug(f"开始推理模式{message_data}") await self.reasoning_chat.process_message(message_data) else: logger.error(f"未知的回复模式,请检查配置文件!!: {global_config.response_mode}")