Skip to content

Commit 74fa346

Browse files
authored
Merge pull request #647 from AnguseZhang/fix/plan_confirm_error
fix: change plan_confirm state_delta to include nested flag dictionar…
2 parents 0056915 + 1c9bcee commit 74fa346

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • agents/matmaster_agent/flow_agents

agents/matmaster_agent/flow_agents/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ async def _run_async_impl(
400400
f'{ctx.session.id} 确认计划 not confirm, manually setting it'
401401
)
402402
yield update_state_event(
403-
ctx, state_delta={'plan_confirm': True}
403+
ctx, state_delta={'plan_confirm': {'flag': True}}
404404
)
405405

406406
plan_confirm = ctx.session.state['plan_confirm'].get('flag', False)

0 commit comments

Comments
 (0)