Skip to content

Automatic model failover mid-run #294

Closed

Description

@currentbits

Inspired by Salesforce Agentforce's automatic model failover.

Distinct from #246 (upfront model routing): when a provider errors, rate-limits, or degrades mid-run, fail the turn over to a fallback provider/model per the thread's profile, carrying a handoff summary (#237 machinery). Show the failover in the transcript. Turns provider outages from a stuck thread into a blip.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 17, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 25 demand validation: "Native Model Fallback / Failover Support" is a top-10 open request on OpenCode (anomalyco/opencode#7602, 30 comments), and Droid shipped Auto-model retries when a model is unavailable (v0.176.0). The user expectation is now: a provider dying mid-run is a routing event, not a failed thread. Combined with round 21's thrash detector (#391), the stack is: detect -> failover to next profile in the named-instance pool (#453) -> tell the user it happened (loud, in the transcript, per the auto-review explainability pattern).

  3. added
    plan:doing
    plan:done
    and removed
    plan:todo
    plan:doing
    on Oct 19, 2026
  4. currentbits commented on Oct 19, 2026

    @currentbits
    OwnerAuthor

    Superseded by #711 (closed 2026-08-27): quota failover shipped. See electron/quotaWait.js ("#711, formerly #294") and electron/runner-quota-wait.js. Failover on non-quota errors and per-profile chains were speculative extensions; open a new issue if they are wanted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementplan:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions