fix(chat): 修复动作列表不为空时获取动作类型的问题(废物哈吉米替换了十次)
This commit is contained in:
@@ -369,7 +369,7 @@ class CycleProcessor:
|
|||||||
self.context.chat_instance.cycle_tracker.end_cycle(loop_info, cycle_timers)
|
self.context.chat_instance.cycle_tracker.end_cycle(loop_info, cycle_timers)
|
||||||
self.context.chat_instance.cycle_tracker.print_cycle_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
|
return action_type
|
||||||
|
|
||||||
async def _handle_action(
|
async def _handle_action(
|
||||||
|
|||||||
Reference in New Issue
Block a user