Skip to content

fix(routing): exclude locked-out models from auto-combo candidates (#7623) - #8586

Merged
diegosouzapw merged 1 commit into
cheaper-inference:release/v3.8.49from
Prudhvivuda:fix/7623-auto-combo-broken-models
Jul 27, 2026
Merged

diegosouzapw merged 1 commit into
cheaper-inference:release/v3.8.49from
Prudhvivuda:fix/7623-auto-combo-broken-models

Conversation

@Prudhvivuda

@Prudhvivuda Prudhvivuda commented Jul 25, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Filter auto/* virtual candidate pools through existing resilience state (isModelLocked, connection cooldown, terminal testStatus) so repeatedly failing no-auth models (e.g. opencode 401) are not re-advertised.
  • Add filterResilienceBlockedCandidates in open-sse/services/autoCombo/resilienceCandidateFilter.ts and wire it into createVirtualAutoCombo after the pool is assembled.
  • For credentialed logical candidates, trim allowedConnectionIds when a specific connection/model pair is locked or unavailable instead of dropping sibling accounts.

Test plan

  • node --import tsx/esm --test tests/unit/noauth-autocombo-lockout-7623.test.ts (3/3 pass)
  • Related regressions: noauth-autocombo-exclude-7622.test.ts, virtual-auto-combo.test.ts, auto-combo-credentialed-model-pool.test.ts (17/17 pass)

Closes #7623

…heaper-inference#7623)

Filter auto-combo candidates through existing model lockout, connection
cooldown, and terminal testStatus so repeatedly failing no-auth models
are not re-advertised into auto/* pools.
@Prudhvivuda
Prudhvivuda force-pushed the fix/7623-auto-combo-broken-models branch from 4372b43 to 210f2c9 Compare July 25, 2026 15:49
@diegosouzapw
diegosouzapw merged commit 094f583 into cheaper-inference:release/v3.8.49 Jul 27, 2026
5 checks passed
@diegosouzapw diegosouzapw mentioned this pull request Jul 28, 2026
HouMinXi pushed a commit to HouMinXi/OmniRoute that referenced this pull request Aug 2, 2026
…heaper-inference#7623) (cheaper-inference#8586)

Filter auto-combo candidates through existing model lockout, connection
cooldown, and terminal testStatus so repeatedly failing no-auth models
are not re-advertised into auto/* pools.
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…heaper-inference#7623) (cheaper-inference#8586)

Filter auto-combo candidates through existing model lockout, connection
cooldown, and terminal testStatus so repeatedly failing no-auth models
are not re-advertised into auto/* pools.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(providers): auto combos include no-auth provider with broken models causing 401s

2 participants