mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
handle_capability_check now advances a session that already carries a goal (fc.goal_text set at creation) on ANY turn, not only send_goal -- the composer already carried the goal in, so requiring a further send_goal click was a second decision-free gate. A goal-less (create-from-blank) session still waits for send_goal to supply one; that action id stays in _ACTIONS_FOR for exactly that case. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>