Files
OmniRoute/src/shared
Diego Rodrigues de Sa e Souza f27886e63f feat(sse): per-model default reasoning_effort + no-think none on OpenAI path (#6879)
Ask 1: add ModelSpec.defaultReasoningEffort ("none"|"low"|"medium"|"high"),
injected as reasoning_effort only when the request carries no reasoning
field of any shape (reasoning_effort/reasoning/thinking). An explicit
client value — including one forwarded verbatim through a combo leg —
always wins. Wired at the OpenAI Chat Completions dispatch chokepoint in
chatCore.ts, after model resolution, so the resolved upstream model's
default applies even when a combo/route substituted it.

Ask 2: applyNoThinkingAlias now sets reasoning_effort:"none" on the OpenAI
path instead of deleting the field, so a thinks-by-default model (measured:
gemini-flash-lite-latest via no-think/ still burned 202 reasoning tokens)
actually stops thinking instead of falling back to its provider default.
The Claude/Messages path is unchanged (thinking:{type:"disabled"}). Lanes
known to reject reasoning_effort still end up with the field removed via
the existing per-lane unsupported-param strip (paramSupport.ts) — same end
state as the old delete-only behavior, correct on more lanes.
2026-07-17 14:50:36 -03:00
..
2026-06-29 16:51:03 -03:00
2026-07-04 13:00:30 -03:00
2026-07-13 09:12:40 -03:00
2026-06-27 09:07:12 -03:00
2026-07-13 09:12:40 -03:00