multi_agents: an empty console reply at plan review re-plans without counting toward max_plan_revisions
Author: hesam-shamsCreated Sep 26, 2026Updated Sep 26, 2026
With include_human_feedback on and the plan reviewed in the console (no websocket), pressing Enter at the plan-review prompt returns "".
""is not the"no"approval.is_human_plan_approval("")isFalse, astests/test_none_accept_sentinels.pypins, soroute_human_feedbacksends it torevise.review_planincrementsplan_revision_countonly for truthy replies (if user_feedback:inmulti_agents/agents/human.py), so that lap is never counted.- The planner drops empty feedback, so each Enter re-plans with the same prompt, and
max_plan_revisionscannot end a run of them.
The web feedback form maps a blank submit to null (HumanFeedback.tsx, "leave blank for 'no'"), which route_human_feedback accepts, so the two paths disagree. I found this reading the code and confirmed it with a unit test that feeds "" to review_plan. I'm opening a PR with a one-line fix that makes the console match the web form, plus a regression test; it notes the alternative (counting the empty lap).
Source: assafelovic/gpt-researcher