Have an ability to turn on / off thinking mode #1886

Closed
opened 2026-02-16 17:33:04 -05:00 by yindo · 8 comments
Owner

Originally created by @leeweisern on GitHub (Sep 30, 2025).

Originally assigned to: @thdxr on GitHub.

Image Image

Better yet, customisable based on models.

e.g:

  • GPT-5 we can toggle between minimal / low / medium / high
  • Sonnet 4.5, we can toggle between non thinking and thinking
Originally created by @leeweisern on GitHub (Sep 30, 2025). Originally assigned to: @thdxr on GitHub. <img width="543" height="410" alt="Image" src="https://github.com/user-attachments/assets/35e294c3-4c2e-4f63-ae8c-06a1a67068cf" /> <img width="543" height="380" alt="Image" src="https://github.com/user-attachments/assets/6c36c54e-187e-47c3-b7ce-857b52c038ef" /> Better yet, customisable based on models. e.g: - GPT-5 we can toggle between minimal / low / medium / high - Sonnet 4.5, we can toggle between non thinking and thinking
yindo closed this issue 2026-02-16 17:33:04 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Sep 30, 2025):

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

  • #450: Requests UI controls for reasoning_effort parameter, similar to thinking mode toggles
  • #1177: Specifically requests thinking UI features and controls
  • #1528: Requests better support for thinking tags/mode in local models
  • #2767: Discusses optimizing thinking process output and presentation

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

@github-actions[bot] commented on GitHub (Sep 30, 2025): This issue might be a duplicate of existing issues. Please check: - #450: Requests UI controls for reasoning_effort parameter, similar to thinking mode toggles - #1177: Specifically requests thinking UI features and controls - #1528: Requests better support for thinking tags/mode in local models - #2767: Discusses optimizing thinking process output and presentation Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Sep 30, 2025):

Absolutely makes a lot of sense, I think Dax & Adam have talked about UX of this and once opentui migration is complete this will be added at some point

@rekram1-node commented on GitHub (Sep 30, 2025): Absolutely makes a lot of sense, I think Dax & Adam have talked about UX of this and once opentui migration is complete this will be added at some point
Author
Owner

@markus1189 commented on GitHub (Nov 22, 2025):

Also came here because I'm really missing this. The ability to toggle thinking on/off especially for Sonnet is really handy!

I found the config that enables it, but it's permanent and being able to decide for the task at hand would be good

@markus1189 commented on GitHub (Nov 22, 2025): Also came here because I'm really missing this. The ability to toggle thinking on/off especially for Sonnet is really handy! I found the config that enables it, but it's permanent and being able to decide for the task at hand would be good
Author
Owner

@llucax commented on GitHub (Nov 27, 2025):

I found the config that enables it, but it's permanent and being able to decide for the task at hand would be good

Where is that option? Usually you can write an agent with a particular config, so you might write @think something to use a thinking-enabled agent.

@llucax commented on GitHub (Nov 27, 2025): > I found the config that enables it, but it's permanent and being able to decide for the task at hand would be good Where is that option? Usually you can write an agent with a particular config, so you might write `@think something` to use a thinking-enabled agent.
Author
Owner

@bcheung commented on GitHub (Dec 9, 2025):

Will you make thinking on by default for thinking models?
unless the toggle for thinking mode is super obvious, new users coming from claude might not realize they need to toggle thinking

I found the config that enables it, but it's permanent and being able to decide for the task at hand would be good

Where is that option? Usually you can write an agent with a particular config, so you might write @think something to use a thinking-enabled agent.

^^ also like this idea, to trigger thinking explicitly from a prompt allows you to activate it for that 1 prompt if you dont want thinking enabled by default.

@bcheung commented on GitHub (Dec 9, 2025): Will you make thinking on by default for thinking models? unless the toggle for thinking mode is super obvious, new users coming from claude might not realize they need to toggle thinking > > I found the config that enables it, but it's permanent and being able to decide for the task at hand would be good > > Where is that option? Usually you can write an agent with a particular config, so you might write `@think something` to use a thinking-enabled agent. ^^ also like this idea, to trigger thinking explicitly from a prompt allows you to activate it for that 1 prompt if you dont want thinking enabled by default.
Author
Owner

@jasonish commented on GitHub (Dec 9, 2025):

I have this in my opencode.jsonc, so toggling thinking is just changing the model, but still, a thinking toggle would be ideal:

  "provider": {
    "anthropic": {
      "models": {
        "[Custom] Opus 4.5 Latest / Thinking": {
          "id": "claude-opus-4-5",
          "options": {
            "thinking": {
              "type": "enabled",
              "budgetTokens": 16000
            }
          }
        },
        "[Custom] Sonnet 4.5 Latest / Thinking": {
          "id": "claude-sonnet-4-5",
          "options": {
            "thinking": {
              "type": "enabled",
              "budgetTokens": 16000
            }
          }
        }
      }
    }
  },
@jasonish commented on GitHub (Dec 9, 2025): I have this in my `opencode.jsonc`, so toggling thinking is just changing the model, but still, a thinking toggle would be ideal: ```json "provider": { "anthropic": { "models": { "[Custom] Opus 4.5 Latest / Thinking": { "id": "claude-opus-4-5", "options": { "thinking": { "type": "enabled", "budgetTokens": 16000 } } }, "[Custom] Sonnet 4.5 Latest / Thinking": { "id": "claude-sonnet-4-5", "options": { "thinking": { "type": "enabled", "budgetTokens": 16000 } } } } } }, ```
Author
Owner

@rekram1-node commented on GitHub (Dec 9, 2025):

coming soon!

@rekram1-node commented on GitHub (Dec 9, 2025): coming soon!
Author
Owner

@franroa commented on GitHub (Dec 23, 2025):

I also think that triggering it at prompt level would be really cool

@franroa commented on GitHub (Dec 23, 2025): I also think that triggering it at prompt level would be really cool
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1886