fix:缺少stream的报错

This commit is contained in:
SengokuCola
2025-08-08 21:20:28 +08:00
parent 090dd012e1
commit d1f15a932a
3 changed files with 4 additions and 4 deletions

View File

@@ -386,7 +386,7 @@ class HeartFChatting:
chat_target_info=planner_info[1],
current_available_actions=planner_info[2],
)
await events_manager.handle_mai_events(EventType.ON_PLAN, None, prompt_info[0], None)
await events_manager.handle_mai_events(EventType.ON_PLAN, None, prompt_info[0], None, self.chat_stream.stream_id)
with Timer("规划器", cycle_timers):
plan_result, target_message = await self.action_planner.plan(mode=self.loop_mode)