From cb5372d203e411751c66ebb9c9191aa74a74fbc2 Mon Sep 17 00:00:00 2001 From: minecraft1024a Date: Fri, 3 Oct 2025 18:21:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:(proactive=5Fthinker)=E8=BF=99beyond?= =?UTF-8?q?=E7=9A=84=E5=AD=A9=E5=AD=90=E5=BF=98=E4=BA=86=E5=8A=A0mood=5Fst?= =?UTF-8?q?ate,=E5=AF=BC=E8=87=B4=E4=B8=BB=E5=8A=A8=E6=80=9D=E8=80=83?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=8D=E9=87=8C=E7=9A=84=E6=83=85=E7=BB=AA?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E4=BA=86=E4=B8=80=E5=A0=86=E4=B9=B1=E7=A0=81?= =?UTF-8?q?()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../built_in/proactive_thinker/proactive_thinker_executor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/built_in/proactive_thinker/proactive_thinker_executor.py b/src/plugins/built_in/proactive_thinker/proactive_thinker_executor.py index 74c23eba4..f4f41426b 100644 --- a/src/plugins/built_in/proactive_thinker/proactive_thinker_executor.py +++ b/src/plugins/built_in/proactive_thinker/proactive_thinker_executor.py @@ -160,7 +160,7 @@ class ProactiveThinkerExecutor: # 2. 构建基础上下文 if global_config.mood.enable_mood: try: - mood_state = mood_manager.get_mood_by_chat_id(stream.stream_id) + mood_state = mood_manager.get_mood_by_chat_id(stream.stream_id).mood_state except Exception as e: logger.error(f"获取情绪失败,原因:{e}") mood_state = "暂时没有"