Files
OmniRoute/tests
Diego Rodrigues de Sa e Souza dbc9f60818 fix(base-red): align least-used combo tests with executionKey usage keying (#7015)
sortTargetsByUsage (open-sse/services/combo/targetSorters.ts, since
#7015/#7059) keys usage lookups by the per-target executionKey
(combo-name + step-id), not by the bare model string, so accounts
sharing a modelStr don't collapse into a single usage bucket.

Three tests called recordComboRequest() directly without a `target`,
so the recorded usage landed under a modelStr fallback key that never
matches the real executionKey computed at combo-resolution time —
every target read back as 0 usage and the original combo order won,
failing the "prefers the least-used model" assertions. Production is
unaffected: every real combo.ts call site already passes
`target: toRecordedTarget(target)`.

Fixed by priming usage through real handleComboChat calls (which
route recordComboRequest through the actual resolved target) instead
of calling recordComboRequest() directly with an unlinked target.
2026-07-18 22:22:51 -03:00
..
2026-05-23 01:46:59 -03:00
2026-07-13 09:12:40 -03:00
2026-07-02 10:47:13 -03:00
2026-07-06 02:25:17 -03:00
2026-07-13 09:12:40 -03:00
2026-06-13 17:27:40 -03:00