From b04258d63a2d65925527c27ac83806ad3aba042e Mon Sep 17 00:00:00 2001 From: zihanjian Date: Thu, 25 Sep 2025 16:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=83=B3=E6=83=B3=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- robot.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/robot.py b/robot.py index e48ae22..9e9ad5b 100644 --- a/robot.py +++ b/robot.py @@ -263,7 +263,11 @@ class Robot(Job): setattr(ctx, 'chat', self.chat) setattr(ctx, 'specific_max_history', specific_limit) - reasoning_triggered = bool(ctx.text and "想想" in ctx.text) + reasoning_triggered = bool( + ctx.text + and "想想" in ctx.text + and (not ctx.is_group or ctx.is_at_bot) + ) if reasoning_triggered: self.LOG.info("检测到推理模式触发词,跳过AI路由。") ctx.send_text("正在深度思考,请稍候...")