picoclaw/pkg/providers
Leandro Barbosa 6e7149509a feat: add model fallback chain with error classification
Add 2-layer fallback system (text + image) with automatic candidate
resolution. Includes error classifier (~40 patterns), per-provider
cooldown (exponential backoff), and model reference parsing.

- FailoverError/FailoverReason types for structured error handling
- ErrorClassifier with rate_limit, billing, auth, timeout patterns
- FallbackChain with cooldown management and candidate rotation
- ModelRef parser for provider/model string format
- 128 tests, 95%+ coverage
2026-02-13 12:12:12 -03:00
..
claude_cli_provider.go feat: add cli-based LLM provider 2026-02-12 11:51:51 -03:00
claude_cli_provider_test.go feat: add cli-based LLM provider 2026-02-12 11:51:51 -03:00
claude_provider.go feat(providers): add SDK-based providers for subscription OAuth login 2026-02-11 13:27:59 -06:00
claude_provider_test.go feat(providers): add SDK-based providers for subscription OAuth login 2026-02-11 13:27:59 -06:00
codex_provider.go chore(deps): upgrade openai-go from v1.12.0 to v3.21.0 2026-02-11 13:39:19 -06:00
codex_provider_test.go chore(deps): upgrade openai-go from v1.12.0 to v3.21.0 2026-02-11 13:39:19 -06:00
cooldown.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
cooldown_test.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
error_classifier.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
error_classifier_test.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
fallback.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
fallback_test.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
http_provider.go feat: add cli-based LLM provider 2026-02-12 11:51:51 -03:00
model_ref.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
model_ref_test.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00
types.go feat: add model fallback chain with error classification 2026-02-13 12:12:12 -03:00