Files
OmniRoute/open-sse/executors
Felipe Almeman 6956edc418 fix(anthropic): normalize sampling params under extended thinking (temperature/top_p) (#3780)
Claude with extended thinking rejects non-default sampling params (temperature must be 1, top_p >= 0.95 or unset) with HTTP 400. Clients like the VS Code Copilot Ollama BYOK provider send temperature 0.7 + top_p 0.9, breaking every Claude+thinking request across grouped/raw/combo.

enforceThinkingTemperature now also drops top_p (in addition to pinning temperature=1) when thinking is enabled/adaptive, and is called at the final dispatch chokepoint in BaseExecutor (before fingerprint/CCH signing) for claude + claude-code-compatible providers — the single point every routing mode converges on. No-op when thinking is inactive.

Tests: claude-code-parity.test.ts +3 cases (31/31). typecheck:core + eslint clean.

Integrated into release/v3.8.24.
2026-06-13 14:11:06 -03:00
..
2026-06-10 13:49:08 -03:00
2026-05-26 23:51:47 -03:00
2026-06-07 07:20:02 -03:00
2026-05-23 01:46:59 -03:00
2026-06-06 19:13:11 -03:00
2026-06-10 13:49:08 -03:00
2026-06-09 15:56:24 -03:00
2026-05-29 12:44:29 -03:00
2026-06-07 07:20:02 -03:00
2026-05-24 18:05:58 -03:00
2026-05-29 12:44:29 -03:00
2026-06-10 13:49:08 -03:00
2026-05-26 23:51:47 -03:00
2026-05-29 12:44:29 -03:00
2026-06-11 18:52:29 -03:00
2026-05-24 18:05:58 -03:00
2026-05-29 12:44:29 -03:00
2026-06-11 18:52:29 -03:00
2026-06-12 23:49:22 -03:00
2026-05-26 23:51:47 -03:00
2026-05-23 01:46:59 -03:00
2026-06-10 13:49:08 -03:00
2026-05-29 12:44:29 -03:00
2026-05-29 12:44:29 -03:00
2026-06-10 13:49:08 -03:00
2026-06-12 23:49:22 -03:00
2026-05-24 18:05:58 -03:00
2026-06-09 15:56:24 -03:00
2026-05-29 12:44:29 -03:00
2026-05-29 12:44:29 -03:00
2026-06-10 13:49:08 -03:00
2026-06-12 23:49:22 -03:00
2026-05-26 23:51:47 -03:00