ui: Add Thinking mode toggle + improve Chat Form Add Action UI
Overview
Adds "Thinking" toggle and status icon + redesign Chat Form Actions Add panel.
Closes #23444 Supersedes #21657
https://github.com/user-attachments/assets/c97f46bd-3a37-42f5-b155-ada3ccbdad23
Additional information
Requirements
- I have read and agree with the contributing guidelines
- AI usage disclosure: YES, refactoring
I have wanted a thinking toggle here for a long time, I'm just not sure how it can automatically detect the right kind of toggle to show. Some models only support one mode, some models support turning thinking on/off, some models support different reasoning efforts: low, medium, high (like GPT-OSS). How does this PR handle that?
I have wanted a thinking toggle here for a long time, I'm just not sure how it can automatically detect the right kind of toggle to show. Some models only support one mode, some models support turning thinking on/off, some models support different reasoning efforts: low, medium, high (like GPT-OSS). How does this PR handle that?
my assumption was to release this as is, in an experimental form as most popular models support reasoning and follow up with further implementation on the server-side with some kind of support for detecting the thinking support and passing it to /props endpoint.
Thank you for this. I requested it some time back. #18405 I think many people will be happy.
Can you kindly confirm what will be required on server end for it to work as of now. If server is either started with reasoning on or off.
Thank you for this. I requested it some time back. #18405 I think many people will be happy.
Can you kindly confirm what will be required on server end for it to work as of now. If server is either started with reasoning on or off.
Yes, actually I might devote a bit more time to this PR to also address #18405
Okay, so after seeing multiple feature requests I've updated the description of the PR and changed it back to draft as I'd like to do a bit more in-depth implementation of Thinking controls feature from the start.
I've created a parent issue ##23444