mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-17 20:32:25 +03:00
#12746 (executeTarget → gates/attempt/loop) and #12811 (round-robin) moved the combo dispatcher out of open-sse/services/combo.ts. The #5976 invariant moved with it intact — executeTargetAttempt.ts:1169 and roundRobinCombo.ts:1049 both still exclude a 500/429 on a per-model-quota provider before recording a provider cooldown — but the guard only read combo.ts and went red on an empty file. Scan the whole combo surface instead of one filename and require the skip in EVERY module that calls recordProviderCooldown(), with the pattern matched on whitespace-normalized source so a prettier rewrap cannot silently disarm it. The invariant asserted is unchanged; the guard is now stronger than the single substring check it replaces.