From 3348cbbd88ed90359283bb7b73b1c242be3b9518 Mon Sep 17 00:00:00 2001 From: Timmy Time Date: Tue, 31 Mar 2026 19:40:09 +0000 Subject: [PATCH] config: enable kimi-coding fallback for Timmy and Ezra --- .hermes/config.yaml | 102 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 .hermes/config.yaml diff --git a/.hermes/config.yaml b/.hermes/config.yaml new file mode 100644 index 00000000..79f7edfa --- /dev/null +++ b/.hermes/config.yaml @@ -0,0 +1,102 @@ +# Hermes Agent Configuration +# Default config with kimi-coding fallback for Timmy and Ezra +# Issue #186: Add kimi-coding fallback when Anthropic quota limited + +# ============================================================================= +# Model Configuration +# ============================================================================= + +# Default model - using Anthropic with automatic fallback +model: anthropic/claude-opus-4.6 + +# Fallback chain: Anthropic -> Kimi -> OpenRouter +# Auto-enabled via HERMES_AUTO_FALLBACK=true (default) +fallback_providers: + - provider: kimi-coding + model: kimi-k2.5 + timeout: 60 + reason: "Primary fallback when Anthropic quota limited (Issue #186)" + + - provider: openrouter + model: anthropic/claude-sonnet-4 + timeout: 45 + reason: "Secondary fallback via OpenRouter" + +# ============================================================================= +# Provider Settings +# ============================================================================= + +providers: + anthropic: + timeout: 30 + retry_on_quota: true + max_retries: 2 + + kimi-coding: + timeout: 60 + max_retries: 3 + # Uses KIMI_API_KEY from environment + + openrouter: + timeout: 45 + max_retries: 2 + # Uses OPENROUTER_API_KEY from environment + +# ============================================================================= +# Agent Settings +# ============================================================================= + +agent: + max_turns: 90 + tool_use_enforcement: auto + # Auto-fallback configuration + fallback_on_errors: + - rate_limit_exceeded + - quota_exceeded + - timeout + - service_unavailable + - 403_error + - 429_error + +# ============================================================================= +# Toolsets +# ============================================================================= + +toolsets: + - hermes-cli + - github + - web + +# ============================================================================= +# Display Settings +# ============================================================================= + +display: + show_fallback_notifications: true + show_provider_switches: true + compact: false + personality: kawaii + +# ============================================================================= +# Terminal Settings +# ============================================================================= + +terminal: + backend: local + cwd: . + timeout: 180 + persistent_shell: true + +# ============================================================================= +# Checkpoints +# ============================================================================= + +checkpoints: + enabled: true + max_snapshots: 50 + +# ============================================================================= +# Config Version +# ============================================================================= + +_config_version: 10