You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: default fallback chain excludes Cerebras and Groq providers #17
When costOptimization is disabled, the default fallback chain is hardcoded to 3 providers. Cerebras and Groq are never included as fallback candidates, even when configured.
A consumer who configures all 5 providers but doesn't set explicit fallback rules will never fall back to Cerebras or Groq — they're invisible to the chain.
Fix
Include all configured providers in the default chain:
constallProviders=Array.from(this.providers.keys());// Still prefer the configured order, but include everyonereturn['cloudflare','cerebras','groq','anthropic','openai'].filter(p=>allProviders.includes(p));
Activity