Files
OmniRoute/tests
diegosouzapw d984db3053 fix(routing): stop round-robin combo opencode targets from collapsing onto opencode-zen (#11912)
open-sse/services/model.ts canonicalizes any "opencode/<model>" combo target
string to provider "opencode-zen" (the api-key gateway). A round-robin combo
mixing declared "opencode/<model>" targets (the free/dynamic no-auth pool)
with an explicit "opencode-zen/<model>" target therefore collapsed every
rotation slot onto the same provider + connection identity, so all traffic
executed against the single opencode-zen connection instead of rotating
across the free pool.

Mirror the combo builder's existing #2901 guard at combo target resolution
time (comboStructure.ts's normalizeRuntimeStep): rewrite an ambiguous
"opencode/<model>" combo target to the "oc/" no-auth alias before it reaches
dispatch, so it stays a distinct rotation identity. Also resolve
controlCenter.ts's Resolved-Runtime-Targets label through the same
alias-normalization path so the dashboard label matches what actually
executes upstream.
2026-09-10 15:59:10 -03:00
..