automatic failover

This commit is contained in:
2026-05-31 02:01:37 -04:00
parent 925e37938b
commit d2ef124369
2 changed files with 103 additions and 58 deletions

View File

@@ -122,6 +122,10 @@ prompts:
> tasks, only the first two models are used. The third model is only touched when
> a third concurrent task starts. Freed model slots are reused before new ones
> are allocated.
>
> **Automatic failover**: if a provider/API is unreachable (rate limit, 503, etc.),
> the task automatically cycles to the next model in the list without counting it
> as a task failure. Each model is tried once before the task is marked as failed.
The keys mirror the nested structure of `RalpiConfig` in `src/types.ts`.