mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-15 11:43:10 +03:00
applyComboTargetExhaustion now marks an agentrouter connection into the in-memory exhaustedConnections set when checkFallbackError reports a connection-scope quota result (isAgentrouterConnectionQuotaScope, reused from the persistence layer), so remaining same-connection targets in the SAME combo request are skipped instead of each burning its own upstream call before the persisted cooldown takes effect on the next request. Gated strictly to the agentrouter allowlist — every other provider is unaffected. Also updates RESILIENCE_GUIDE.md §7 to correct two stale claims: the agentrouter-model-access-denied rule does fire in production now (feeds the per-model lockout's cooldown), and rule scope is consumed end-to-end for providers in HONORS_RULE_LOCK_SCOPE_PROVIDERS instead of staying purely informational.