mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-23 23:52:18 +03:00
The 'does not force 1M onto non-hyperagent providers' assertion expected windsurf's per-model 200000 pin for claude-opus-4.7-max. That premise is stale after two intentional base merges, both already on release/v3.8.50: -acc066db3f(#8228) retired windsurf as a built-in provider (replaced by devin-desktop), removing its explicit contextLength pin; -00dfdadf93(#11034) added effort-suffix variant resolution in getResolvedModelCapabilities: when no direct source resolves, stripKnownEffortSuffix maps claude-opus-4.7-max to its base model claude-opus-4.7 -> canonical claude-opus-4-7, whose real catalog window is 1M (cursor catalogs the same id as 'Opus 4.7 1M Max'). So the 1M now comes from the shared model catalog via legitimate base-model resolution, not from the forbidden hyperagent-default leak the test guards against. Discrimination evidence: reproduces on the pure tip with zero diff (git log -p origin/release/v3.8.50 on both source and test); the test file itself was untouched sinced54a659804while both source merges landed later. The bluesminds/claude-opus-4-5 -> 200000 assertion is unchanged and still guards the original #8496 intent: a non-hyperagent provider's own pin must win over name heuristics and sibling windows.