mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-28 09:08:54 -04:00
The chat could not set reasoning_effort or turn reasoning traces off. Add an effort menu and a "No reasoning" toggle to the composer chips, and the matching /effort and /reasoning slash actions. Both are stored per chat. The effort menu defaults to the model default, which sends no reasoning_effort, so existing chats behave as before. Chosen effort goes out as the per-request reasoning_effort field. The toggle sends "none", which the server maps to enable_thinking=false, and also drops any reasoning the model still returns, so the thread shows only the answer. Assisted-by: Claude:claude-sonnet-5-5 eslint playwright Co-authored-by: Ettore Di Giacinto <mudler@localai.io>