llama.cpp icon indicating copy to clipboard operation
llama.cpp copied to clipboard

ui: Add Thinking mode toggle + improve Chat Form Add Action UI

Open allozaur opened this issue 6 months ago • 5 comments

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

allozaur avatar May 20 '26 18:05 allozaur

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?

coder543 avatar May 20 '26 18:05 coder543

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.

allozaur avatar May 20 '26 18:05 allozaur

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.

engrtipusultan avatar May 20 '26 19:05 engrtipusultan

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

allozaur avatar May 20 '26 21:05 allozaur

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

allozaur avatar May 20 '26 21:05 allozaur