# Ezra Configuration - Kimi Primary (Anthropic FIRED)

model:
  default: kimi-for-coding
  provider: kimi-coding

providers:
  kimi-coding:
    base_url: https://api.kimi.com/coding/v1
    timeout: 60
    max_retries: 3

# LOCAL FALLBACK ONLY
fallback_providers:
  - provider: ollama
    model: qwen2.5:7b
    base_url: http://localhost:11434
    timeout: 120
    reason: "Local offline fallback only"

toolsets:
  - all

max_turns: 111

terminal:
  backend: local
  cwd: .
  timeout: 180

browser:
  inactivity_timeout: 120

compression:
  enabled: true
  threshold: 0.77
  summary_model: qwen2.5:7b

display:
  compact: false
  personality: kawaii
  tool_progress: all


# === PLATFORMS ===
platforms:
  api_server:
    enabled: true
    extra:
      host: 127.0.0.1
      port: 8643

# === CRON ===
cron:
  wrap_response: true

# === SESSION RESET ===
session_reset:
  mode: both
  idle_minutes: 1440
  at_hour: 4

_config_version: 10
