config: add Timmy and Ezra fallback configs for kimi-coding (Issue #186)
Some checks failed
Docker Build and Publish / build-and-push (push) Has been cancelled
Nix / nix (macos-latest) (push) Has been cancelled
Nix / nix (ubuntu-latest) (push) Has been cancelled
Tests / test (push) Has been cancelled
Supply Chain Audit / Scan PR for supply chain risks (pull_request) Has been cancelled
Docker Build and Publish / build-and-push (pull_request) Has been cancelled
Nix / nix (macos-latest) (pull_request) Has been cancelled
Nix / nix (ubuntu-latest) (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled

This commit is contained in:
Allegro
2026-03-31 19:57:31 +00:00
parent e555c989af
commit 66ce1000bc
2 changed files with 97 additions and 0 deletions

View File

@@ -0,0 +1,44 @@
# Ezra Configuration - Kimi Primary
# Anthropic removed from chain entirely
# PRIMARY: Kimi for all operations
model: kimi-coding/kimi-for-coding
# Fallback chain: Only local/offline options
# NO anthropic in the chain - quota issues solved
fallback_providers:
- provider: ollama
model: qwen2.5:7b
base_url: http://localhost:11434
timeout: 120
reason: "Local fallback when Kimi unavailable"
# Provider settings
providers:
kimi-coding:
timeout: 60
max_retries: 3
# Uses KIMI_API_KEY from .env
ollama:
timeout: 120
keep_alive: true
base_url: http://localhost:11434
# REMOVED: anthropic provider entirely
# No more quota issues, no more choking
# Toolsets - Ezra needs these
toolsets:
- hermes-cli
- github
- web
# Agent settings
agent:
max_turns: 90
tool_use_enforcement: auto
# Display settings
display:
show_provider_switches: true

View File

@@ -0,0 +1,53 @@
# Hermes Agent Fallback Configuration
# Deploy this to Timmy and Ezra for automatic kimi-coding fallback
model: anthropic/claude-opus-4.6
# Fallback chain: Anthropic -> Kimi -> Ollama (local)
fallback_providers:
- provider: kimi-coding
model: kimi-for-coding
timeout: 60
reason: "Primary fallback when Anthropic quota limited"
- provider: ollama
model: qwen2.5:7b
base_url: http://localhost:11434
timeout: 120
reason: "Local fallback for offline operation"
# Provider settings
providers:
anthropic:
timeout: 30
retry_on_quota: true
max_retries: 2
kimi-coding:
timeout: 60
max_retries: 3
ollama:
timeout: 120
keep_alive: true
# Toolsets
toolsets:
- hermes-cli
- github
- web
# Agent settings
agent:
max_turns: 90
tool_use_enforcement: auto
fallback_on_errors:
- rate_limit_exceeded
- quota_exceeded
- timeout
- service_unavailable
# Display settings
display:
show_fallback_notifications: true
show_provider_switches: true