[Feature Request]: Add per-model reasoning effort defaults to LLM settings
Do you need to file a feature request?
- [x] I searched the existing feature requests.
- [x] This is distinct from #641, which requests a per-conversation composer override.
Feature Request Description
Expose DeepTutor's existing model-level reasoning_effort setting in Settings → LLM → Models.
The backend already reads reasoning_effort from the active catalog model and carries it through ResolvedLLMConfig into provider requests. However, the Web model editor does not represent or edit this field, so users must modify the JSON settings manually.
The setting should:
- be optional and stored on the individual LLM model as
reasoning_effort; - default to Auto / provider default, which removes the field instead of sending an empty value;
- offer only values that are valid for the selected provider/model family;
- avoid offering
nonefor Gemini 3 and Gemini 2.5 Pro, where it causes the 400 error described in #734; - reuse the existing runtime/provider mapping rather than introducing a second nested
reasoning.effortconfiguration shape; - remain hidden for non-LLM services.
Related Module
Frontend/Web
Use Case
Different model entries often need different quality, latency, and token-cost defaults. For example, a fast model may use low effort while a stronger model uses high effort. A model-level default also provides the fallback layer requested by #641 before a future per-conversation override is applied.
Suggested Acceptance Criteria
- LLM model settings contain a Reasoning effort selector.
- Auto removes
reasoning_effortfrom the saved model. - A selected value survives save/reload and reaches the existing runtime resolver.
- Provider/model-specific choices prevent known-invalid Gemini combinations.
- Existing catalogs without the field continue to behave exactly as before.
- Frontend helper and settings contracts have regression coverage.
SO useful!
Thanks for your comments~ feel free to check v1.5.9