mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-03 16:31:17 +08:00
Carry the #958 service-layer reasoning_effort override through the whole turn contract: the core TurnRequest LLMSelection accepts the field (validated against VALID_REASONING_EFFORTS, old two-ID payloads unchanged), the generated web contracts are regenerated, and ChatStateAdapter's asLLMSelection restores a legal override instead of dropping it. The composer gains a selector beside the model picker, offering only the levels the selected model supports (live supported_reasoning_efforts or the provider/model tables) narrowed to the wire vocabulary, hidden when the model has none. The choice persists on the conversation's llm_selection, so the next send uses it without a backend restart and other conversations are unaffected; switching models resets the override. Precedence stays conversation override -> profile/model default -> provider default, and the context-budget readout reports the effective effort beside the model when one was used.