From a54164d4667f6c4d4bab14d58f837d3a9df1991b Mon Sep 17 00:00:00 2001 From: Kouraku Date: Tue, 3 Jun 2025 14:46:14 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A9=E6=99=AE=E9=80=9A=E8=81=8A=E5=A4=A9?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=EF=BC=8C=E6=8F=90=E5=8F=8A=20bot=20?= =?UTF-8?q?=E5=BF=85=E7=84=B6=E5=9B=9E=E5=A4=8D=E7=9A=84=E9=80=89=E9=A1=B9?= =?UTF-8?q?=E8=B5=B7=E4=BD=9C=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/normal_chat/normal_chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/normal_chat/normal_chat.py b/src/chat/normal_chat/normal_chat.py index 1972d31c8..627a0b2b8 100644 --- a/src/chat/normal_chat/normal_chat.py +++ b/src/chat/normal_chat/normal_chat.py @@ -252,7 +252,7 @@ class NormalChat: return timing_results = {} - reply_probability = 1.0 if is_mentioned else 0.0 # 如果被提及,基础概率为1,否则需要意愿判断 + reply_probability = 1.0 if is_mentioned and global_config.normal_chat.mentioned_bot_inevitable_reply else 0.0 # 如果被提及,且开启了提及必回复,则基础概率为1,否则需要意愿判断 # 意愿管理器:设置当前message信息 willing_manager.setup(message, self.chat_stream, is_mentioned, interested_rate)