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
provider failover chain — reserve provider for mission resilience #209
Feature-research ring 2 (2026-10-06, validated: only OPENAI_* env-resolution fallback exists — no runtime provider failover). Optional TOLE_FALLBACK_BASE_URL/_KEY/_MODEL (or a chain): when the primary provider fails after the existing step-retry (PROVIDER_TIMEOUT_RETRIES=1), the next step re-routes to the reserve and the session entry records the switch.
Why
Unattended missions (0.7.0 tole mission) run 30–45 min; a provider outage mid-mission currently parks the turn resumable (good) but stalls progress until a human resumes. A reserve provider turns most outages into a non-event. Durable sessions make the switch auditable — an edge no stateless harness has.
Design sketch
Failover triggers: connect errors / 5xx / repeated timeouts (NOT 4xx auth/model errors — those should fail loud).
Switch is per-step, recorded in the JSONL entry (provider field); cancel token & budgets unchanged.
Out of scope: multi-provider load balancing (keep it a simple ordered chain).
Activity
feat(core): provider failover chain with a durable route record (#209,…
fix(core): close three failover edge cases found by the cora scan (#209)
test(core): provider failover against the real OpenAI provider and tu…
feat(cli): wire the provider failover chain into every face via TOLE_…
refactor(cli): one session provider for every face (#428, 1/3) (#430)
chore(release): bump version to 0.9.0 (#465)