From f356ccfb76a8ed03a70695378d93e7dbf809335d Mon Sep 17 00:00:00 2001 From: Windpicker-owo <3431391539@qq.com> Date: Sun, 9 Nov 2025 16:48:05 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E4=B8=BB=E5=8A=A8?= =?UTF-8?q?=E6=80=9D=E8=80=83=E5=8A=9F=E8=83=BD=E5=BC=80=E5=85=B3=E6=A3=80?= =?UTF-8?q?=E6=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../proactive/proactive_thinking_executor.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/plugins/built_in/affinity_flow_chatter/proactive/proactive_thinking_executor.py b/src/plugins/built_in/affinity_flow_chatter/proactive/proactive_thinking_executor.py index b62ee9dea..26b7ab195 100644 --- a/src/plugins/built_in/affinity_flow_chatter/proactive/proactive_thinking_executor.py +++ b/src/plugins/built_in/affinity_flow_chatter/proactive/proactive_thinking_executor.py @@ -525,6 +525,11 @@ async def execute_proactive_thinking(stream_id: str): config = global_config.proactive_thinking + # 首先检查总开关 + if not config.enable: + logger.debug(f"主动思考功能已关闭,跳过执行 {stream_id}") + return + logger.debug(f"🤔 开始主动思考 {stream_id}") try: