mirror of
https://github.com/nesquena/hermes-webui.git
synced 2026-07-19 14:12:01 +00:00
381bcb4822
Re-gate found _is_pre_adaptive_anthropic misclassified date-stamped legacy IDs (claude-sonnet-4-20250514, claude-opus-4-20250514) and the claude-3 family (claude-3-opus-20240229) as adaptive, so 'max' survived to the 8k manual-thinking fallback instead of degrading to xhigh (32k-equivalent). Rewrote the helper: claude-3* always pre-adaptive; a 6+ digit date stamp is not a minor version so '4-20250514' is a pre-adaptive 4.0 build; 4.6+/latest stay adaptive. Extended regression tests to both ID shapes.