Skip to content

fix(combo): model-scoped 5xx on passthrough providers (upstream candidate) - #2

Open
kenny000666 wants to merge 6 commits into
release/v3.8.53from
fix/503-passthrough-model-lockout
Open

kenny000666 wants to merge 6 commits into
release/v3.8.53from
fix/503-passthrough-model-lockout

Conversation

@kenny000666

Copy link
Copy Markdown

Problem

Upstream PR cheaper-inference#3637 introduced exhaustedConnections tracking to skip connections returning 502/503/504. This operates at connection level, not model level. For passthrough providers (e.g. ProfundoAI) exposing multiple models via one baseUrl+apiKey, a 503 on one model (kimi-k3) poisons the whole connection — sibling models (claude-opus-5, gpt-5.6-sol) get skipped in combo fallback.

Fix

Added hasPerModelQuota() guard in open-sse/services/combo/targetExhaustion.ts that suppresses the connection-level skip for 502/503/504 when provider has per-model quota. Error is still recorded but sibling models remain eligible for fallback.

Commits

Verification

Deployed to prod (ghcr.io/kenny000666-apps/omniroute:3.8.52) 2026-10-27. Pod omniroute-84c66f5759-m62pv healthy, combo routing succeeding with 0 fallbacks.

Upstream Path

After 1-2 weeks stable in prod, propose to cheaper-inference/OmniRoute against next release branch.

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.

1 participant