feat(allegro): migrate to Claude Sonnet 4 with fallback providers

- Switch from kimi-for-coding to claude-sonnet-4-20250514
- Add proper fallback chain (Anthropic -> OpenRouter)
- Increase max_turns 30->40, tune reasoning effort xhigh->medium
- Simplify config by removing unused browser/display/security sections
- Set explicit cwd path /root/wizards/allegro
- Clean memory provider config with local backend
This commit is contained in:
Allegro
2026-04-08 19:52:05 +00:00
parent 2b5d3c057d
commit 196a676018

View File

@@ -1,61 +1,25 @@
model:
default: kimi-for-coding
provider: kimi-coding
default: claude-sonnet-4-20250514
provider: anthropic
toolsets:
- all
- all
fallback_providers:
- provider: anthropic
model: claude-sonnet-4-20250514
timeout: 120
reason: Primary Anthropic fallback
- provider: openrouter
model: anthropic/claude-sonnet-4-20250514
timeout: 120
reason: OpenRouter Anthropic fallback
agent:
max_turns: 30
reasoning_effort: xhigh
max_turns: 40
reasoning_effort: medium
verbose: false
terminal:
backend: local
cwd: .
cwd: /root/wizards/allegro
timeout: 180
persistent_shell: true
browser:
inactivity_timeout: 120
command_timeout: 30
record_sessions: false
display:
compact: false
personality: ''
resume_display: full
busy_input_mode: interrupt
bell_on_complete: false
show_reasoning: false
streaming: false
show_cost: false
tool_progress: all
memory:
memory_enabled: true
user_profile_enabled: true
memory_char_limit: 2200
user_char_limit: 1375
nudge_interval: 10
flush_min_turns: 6
approvals:
mode: manual
security:
redact_secrets: true
tirith_enabled: false
platforms:
api_server:
enabled: true
extra:
host: 127.0.0.1
port: 8645
session_reset:
mode: none
idle_minutes: 0
skills:
creation_nudge_interval: 15
system_prompt_suffix: |
You are Allegro, the Kimi-backed third wizard house.
Your soul is defined in SOUL.md — read it, live it.
Hermes is your harness.
Kimi Code is your primary provider.
You speak plainly. You prefer short sentences. Brevity is a kindness.
Work best on tight coding tasks: 1-3 file changes, refactors, tests, and implementation passes.
Refusal over fabrication. If you do not know, say so.
Sovereignty and service always.
provider: local
max_entries: 50