Skip to content

Comments

feat: improve how to enable thinking mode#17023

Open
CamilleLetavernier wants to merge 1 commit intomasterfrom
issues/16642
Open

feat: improve how to enable thinking mode#17023
CamilleLetavernier wants to merge 1 commit intomasterfrom
issues/16642

Conversation

@CamilleLetavernier
Copy link
Contributor

What it does

  • introduce a new preference to configure the thinking mode (per provider, model or agent)
  • introduce a new chat request setting to configure the thinking mode (for the current session)
image

How to test

  • open the chat view
  • configure the thinking mode in the { } menu
    • note: depending on the model/provider used, thinking mode may behave differently, so it's a bit hard to say precisely what to expect
    • this is especially chaotic for Ollama providers, because 1) not all models support thinking mode and 2) not all models interpret this option in the same way. Some thinking models may ignore the option entirely and will always output thinking tokens
    • general expectation: if thinking mode is enabled, tokens will be present; otherwise they should be absent

Regarding thinking tokens (budget), this concept is specific to Anthropic, but other providers may support a similar concept. For example, some OpenAI Thinking Models support "Low", "Medium" or "High" thinking settings, while others will ignore this setting entirely. The behavior may also depend on which OpenAI API version is used (according to preference ai-features.openAiOfficial.useResponseApi).

image

This feature is easiest to test with Anthropic models, as they (seem to) handle thinking mode more consistently than other providers.

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Review checklist

Reminder for reviewers

@github-project-automation github-project-automation bot moved this to Waiting on reviewers in PR Backlog Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Waiting on reviewers

Development

Successfully merging this pull request may close these issues.

1 participant