Skip to content

GLM-5 with opencode Windows GUI - syntax for disable thinking and reasoning in opencode.json not working #14413

Closed

Description

@passystems-tus

Description

I am trying to switch the thinking / reasoning mode of with an entry in my opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "zai": {
      "models": {
        "glm-5": {
          "options": {
            "reasoning": {
              "enabled": false
            }
          }
        }
      }
    }
  },

But opencode / glm-5 continues to give me thinking blocks:

Image

Has anyone the correct syntax or is there a keyobard shortcut or "/" command to disable this behavior?

Plugins

none

OpenCode version

OpenCode Desktop v1.2.9

Steps to reproduce

Use GLM-5 Pro Subscription
Enter my settings to opencode.json
Give Commands

Screenshot and/or share link

No response

Operating System

Windows 11

Terminal

Windows Terminal / Windows Power Shell, but i use the desktop version of opencode

Activity

  1. github-actions commented on Feb 20, 2026

    @github-actions
    Contributor

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

    If your issue is specifically about the options.reasoning.enabled: false config syntax not being honored, that may be a distinct bug worth keeping separate. Otherwise, consider whether #11987 already tracks the underlying missing feature.

  2. passystems-tus commented on Feb 27, 2026

    @passystems-tus
    Author

    Yes, duplicate ok closing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions