Files
OmniRoute/tests
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-05-23 01:46:59 -03:00
2026-07-13 09:12:40 -03:00
2026-07-02 10:47:13 -03:00
2026-06-19 06:49:01 -03:00
2026-07-06 02:25:17 -03:00
2026-07-13 09:12:40 -03:00
2026-06-13 17:27:40 -03:00