From 63b42d28141fc3f0f2f947384c13fe458e59612d Mon Sep 17 00:00:00 2001 From: tt-P607 <68868379+tt-P607@users.noreply.github.com> Date: Wed, 10 Sep 2025 23:06:41 +0800 Subject: [PATCH] =?UTF-8?q?fix(chat):=20=E9=81=BF=E5=85=8D=E5=9C=A8`messag?= =?UTF-8?q?e=5Fdata`=E4=B8=BA=E7=A9=BA=E6=97=B6=E4=BA=A7=E7=94=9F`Attribut?= =?UTF-8?q?eError?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/chat_loop/response_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/chat_loop/response_handler.py b/src/chat/chat_loop/response_handler.py index 354addc45..889371009 100644 --- a/src/chat/chat_loop/response_handler.py +++ b/src/chat/chat_loop/response_handler.py @@ -139,7 +139,7 @@ class ResponseHandler: need_reply = new_message_count >= random.randint(2, 4) reply_text = "" - is_proactive_thinking = message_data.get("message_type") == "proactive_thinking" + is_proactive_thinking = (message_data.get("message_type") == "proactive_thinking") if message_data else True first_replied = False for reply_seg in reply_set: