Compare commits

...

1 Commits

Author SHA1 Message Date
Alexander Payne
2edb1bd709 feat(config): add fallback_providers with local Ollama terminal fallback
Some checks failed
Architecture Lint / Linter Tests (pull_request) Successful in 24s
Smoke Test / smoke (pull_request) Failing after 20s
Validate Config / YAML Lint (pull_request) Failing after 13s
PR Checklist / pr-checklist (pull_request) Failing after 3m46s
Validate Config / JSON Validate (pull_request) Successful in 14s
Validate Config / Cron Syntax Check (pull_request) Successful in 9s
Validate Config / Deploy Script Dry Run (pull_request) Successful in 12s
Validate Config / Python Syntax & Import Check (pull_request) Failing after 45s
Validate Config / Python Test Suite (pull_request) Has been skipped
Validate Config / Shell Script Lint (pull_request) Failing after 47s
Validate Config / Playbook Schema Validation (pull_request) Successful in 20s
Architecture Lint / Lint Repository (pull_request) Failing after 21s
Adds explicit fallback chain to the root config template.
This ensures local-first fallback is configured out of the box,
addressing the risk of external AI dependency without degradation path.

- Primary: anthropic (as configured)
- Terminal: ollama/qwen3:30b (sovereign local fallback)

Closes #483
2026-04-25 20:26:28 -04:00

View File

@@ -1,6 +1,19 @@
model:
default: claude-opus-4-6
provider: anthropic
fallback_providers:
# Primary chain entry — mirrors model.provider above.
- provider: anthropic
model: claude-opus-4-6
timeout: 120
reason: Primary provider (Anthropic)
# Sovereign terminal fallback — always last.
- provider: ollama
model: qwen3:30b
base_url: http://localhost:11434/v1
timeout: 300
reason: Terminal fallback — local Ollama (sovereign, no API cost)
toolsets:
- all
agent: