From 76ad9279191bcadcaf3c6e09a92b06afebfc751c Mon Sep 17 00:00:00 2001 From: minecraft1024a Date: Sat, 6 Sep 2025 16:10:45 +0800 Subject: [PATCH] =?UTF-8?q?fix(chat):=20=E4=BF=AE=E5=A4=8D=E5=8A=A8?= =?UTF-8?q?=E4=BD=9C=E5=88=97=E8=A1=A8=E4=B8=8D=E4=B8=BA=E7=A9=BA=E6=97=B6?= =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=8A=A8=E4=BD=9C=E7=B1=BB=E5=9E=8B=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98(=E5=BA=9F=E7=89=A9=E5=93=88=E5=90=89?= =?UTF-8?q?=E7=B1=B3=E6=9B=BF=E6=8D=A2=E4=BA=86=E5=8D=81=E6=AC=A1)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/chat/chat_loop/cycle_processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chat/chat_loop/cycle_processor.py b/src/chat/chat_loop/cycle_processor.py index a1862f515..cc938164d 100644 --- a/src/chat/chat_loop/cycle_processor.py +++ b/src/chat/chat_loop/cycle_processor.py @@ -369,7 +369,7 @@ class CycleProcessor: self.context.chat_instance.cycle_tracker.end_cycle(loop_info, cycle_timers) self.context.chat_instance.cycle_tracker.print_cycle_info(cycle_timers) - action_type = actions["action_type"] if actions else "no_action" + action_type = actions[0]["action_type"] if actions else "no_action" return action_type async def _handle_action(