Files
DeepTutor/deeptutor/services
Bingxi Zhao (Frank) 6718d04540 fix(llm): route effort-based Claude families to adaptive thinking instead of budget_tokens
Follow-up to #642: _build_kwargs still emitted thinking={enabled,
budget_tokens} for any configured reasoning_effort, which the same
families that reject temperature (Opus 4.7/4.8, Sonnet 5, Fable 5)
reject with a 400 — so the exact setups #642 enabled failed on every
request once an effort level was set. Real effort levels now map to
adaptive thinking there (no budget headroom inflation), thinking-off
sentinels (none/minimal/minimum) omit the param entirely (explicit
disabled is itself rejected on Fable 5), and Opus 4.6/Sonnet 4.6 keep
the enabled+budget_tokens path unchanged. The constant is renamed to
_EFFORT_BASED_FAMILIES since it now gates both removed params.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-19 01:25:59 +08:00
..
2026-07-18 19:47:03 +08:00
2026-06-17 00:56:27 +08:00
2026-06-18 00:22:48 +08:00
2026-06-11 20:03:34 +08:00
2026-05-08 02:36:24 +08:00
2026-07-04 16:40:08 +08:00
2026-06-11 20:03:34 +08:00
2026-07-18 19:47:03 +08:00
2026-06-17 00:56:27 +08:00
2026-06-11 20:03:34 +08:00
2026-06-29 23:06:30 +08:00
2026-06-11 20:03:34 +08:00
2026-06-17 00:56:27 +08:00
2026-06-18 00:22:48 +08:00
2026-06-11 20:03:34 +08:00
2026-06-18 22:16:31 +08:00
2026-06-17 00:56:27 +08:00
2026-06-18 00:22:48 +08:00
2026-06-17 00:56:27 +08:00