Skip to content

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

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

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