kimi-code icon indicating copy to clipboard operation
kimi-code copied to clipboard

Web UI- In Plan Mode using YOLO, when it finishes, it doesn't ask the user if they want to implement it, unlike the TUI

Open jonatasbaldan opened this issue 5 months ago • 3 comments

What version of Kimi Code is running?

0.17.1

Which open platform/subscription were you using?

Moderato

Which model were you using?

kimi-2.7 code

What platform is your computer?

Linux 6.6.114.1-microsoft-standard-WSL2 x86_64 x86_64

What issue are you seeing?

In the Web UI using YOLO, when Plan Mode is finished, it doesn't ask the user whether they want to implement it like the TUI does.

What steps can reproduce the bug?

/web in TUI open; enable Plan Mode and YOLO mode; when the model finishes the plan, it immediately starts editing/writing files

What is the expected behavior?

When the model finish the plan, ask the user if he whant to start the plan like in tui

Additional information

No response

jonatasbaldan avatar Jun 17 '26 18:06 jonatasbaldan

I can take this. The web client currently auto-approves every approval request in auto/yolo; I'll keep the fix narrow so ExitPlanMode / plan-review approvals stay pending for the user, matching the TUI behavior.

tt-a1i avatar Jun 20 '26 00:06 tt-a1i

I tested PR #920 locally and can confirm it fixes the core issue: in YOLO mode, plan review approvals now stay pending and show an approval card instead of being auto-approved.

One follow-up observation from the test: the Web UI approval card currently falls back to the generic shape for plan_review approvals. It exposes Approve / Approve for session / Reject / Feedback, but does not render the plan options (A/B/C) or carry selectedLabel responses that the TUI already supports via adaptPlanReviewChoices. So while the user can now stop the plan from auto-executing, they still cannot pick a specific plan option or "Reject and Exit" directly in the browser.

Is dedicated plan_review rendering with options on the Web UI roadmap for Phase 3? Happy to open a separate issue if that helps.

tomsen02 avatar Jun 21 '26 05:06 tomsen02

Since pr: https://github.com/MoonshotAI/kimi-code/pull/1056 solves the problem, I will close this issue.

jonatasbaldan avatar Jun 24 '26 18:06 jonatasbaldan