mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #24360] feat: reasoning support for opus 4.7? #58946
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zplizzi on GitHub (May 4, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24360
Check Existing Issues
Verify Feature Scope
Problem Description
i can't figure out how to enable thinking mode for opus 4.7. seems like they changed the settings for this recently: https://platform.claude.com/docs/en/build-with-claude/extended-thinking
but also maybe openweb-ui is using their openai-compat endpoint, which i think doesn't give settings to configure thinking, and doesn't return the thinking tokens (?). that would be a major limitation imo. but if this project's stance is to only support openai-compat providers, i would understand.
Desired Solution you'd like
have support for configuring thinking and seeing reasoning traces.
Alternatives Considered
No response
Additional Context
No response
@owui-terminator[bot] commented on GitHub (May 4, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
#23260 feat: support of reasoning field for reasoning content of the LLM
by joazker-bit
#19328 feat: Support
reasoning_detailsacross tool steps (currently breaks Gemini 3 pro + native function calling)by ciejer
#18381 feat: Qwen3-Next reasoning support
by R3tr0ooo
#14963 feat: Support Magistral models (keeping reasoning traces)
by Tureti
#14867 feat: Add support to toggle thinking (sending
reasoning_effort) for supported modelsby fkrauthan
💡 If this is a duplicate, consider closing it and adding details to the existing issue.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@zplizzi commented on GitHub (May 4, 2026):
here's a mostly working attempt to get it working through a "function". set in admin->functions->add new. then add your API key in the function settings (not in the code), and you have to manually enable it. then there will be new model options in the dropdown.
the "stop" button doesn't seem to work, though. and i'd love if this worked natively; telling someone to copy in some python code to get one of the the most popular model families to work is not good UX (or good safety).
@zplizzi commented on GitHub (May 4, 2026):
also, seems like for 4.7+, the thinking returned to the user is just a "summary" of the real thinking tokens, which is sad :/
https://platform.claude.com/docs/en/build-with-claude/extended-thinking#summarized-thinking
@Classic298 commented on GitHub (May 4, 2026):
i myself cant get opus 4.7 to reason via API, anthropic seems to have disabled the ability to choose when the model reasons. I can't get it to reason at all anymore but this is not an open webui issue
@zplizzi commented on GitHub (May 4, 2026):
er, that's not true - the options are kinda awkward, but you definitely can enable and disable reasoning, and set the "effort" level. the code snipped above does this and it works.
@Classic298 commented on GitHub (May 4, 2026):
can you get the model to REALIABLY ALWAYS reason??
@zplizzi commented on GitHub (May 5, 2026):
i think it chooses if reasoning is needed, but that’s fine enough. it
should just be enableable and show the reasoning if it uses it.
On Mon, May 4, 2026 at 1:34 PM Classic298 @.***> wrote:
@Podden commented on GitHub (May 5, 2026):
Opus 4.7 and Mythos are hiding thinking tokens by default for speedup you can control this by passing the display parameter in your thinking block
I've implemented it in my pipe if you want to give it a go.