GLM 4.7 stuck in planning mode #8420

Open
opened 2026-02-16 18:09:55 -05:00 by yindo · 1 comment
Owner

Originally created by @pmatos on GitHub (Feb 3, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

GLM 4.7 can't exit planning mode.

It appears there's a workflow that requires transitioning from "plan mode" to "implementation mode", but I don't have a way to trigger that transition myself. The system is enforcing that I cannot proceed with implementation until explicitly enabled.

Plugins

No response

OpenCode version

1.1.49

Steps to reproduce

  1. Using opencode with openroute and z-ai/glm-4.7
  2. Change to plan mode
  3. See the model create a plan and struggle to exit. Not even explicitly telling it to exit plan mode works.

Workaround: exit plan mode manually using shift+tab.

Screenshot and/or share link

No response

Operating System

ArchLinux

Terminal

Ghostty

Originally created by @pmatos on GitHub (Feb 3, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description GLM 4.7 can't exit planning mode. > It appears there's a workflow that requires transitioning from "plan mode" to "implementation mode", but I don't have a way to trigger that transition myself. The system is enforcing that I cannot proceed with implementation until explicitly enabled. ### Plugins _No response_ ### OpenCode version 1.1.49 ### Steps to reproduce 1. Using opencode with openroute and z-ai/glm-4.7 2. Change to plan mode 3. See the model create a plan and struggle to exit. Not even explicitly telling it to exit plan mode works. Workaround: exit plan mode manually using shift+tab. ### Screenshot and/or share link _No response_ ### Operating System ArchLinux ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 18:09:55 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 3, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #8537: "Switching from Plan mode" doesn't switch from plan mode - Similar issue where exiting plan mode fails
  • #9389: [BUG] it gets stuck in Plan mode - Reports getting stuck in plan mode after planning
  • #3241: Opencode stuck in Plan mode - User unable to exit plan mode even with explicit commands

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Feb 3, 2026): This issue might be a duplicate of existing issues. Please check: - #8537: "Switching from Plan mode" doesn't switch from plan mode - Similar issue where exiting plan mode fails - #9389: [BUG] it gets stuck in Plan mode - Reports getting stuck in plan mode after planning - #3241: Opencode stuck in Plan mode - User unable to exit plan mode even with explicit commands Feel free to ignore if none of these address your specific case.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8420