36 lines
983 B
YAML
36 lines
983 B
YAML
# CheddahBot Configuration
|
|
|
|
# Chat model (for UI conversations - needs OpenRouter key or local model)
|
|
chat_model: "openai/gpt-4o-mini"
|
|
|
|
# Execution model (Claude Code CLI - uses Max subscription for heartbeat/scheduler)
|
|
default_model: "claude-sonnet-4-20250514"
|
|
|
|
# Gradio server settings
|
|
host: "0.0.0.0"
|
|
port: 7860
|
|
|
|
# Memory settings
|
|
memory:
|
|
max_context_messages: 50 # Messages kept in context window
|
|
flush_threshold: 40 # Trigger summary when messages exceed this
|
|
embedding_model: "all-MiniLM-L6-v2"
|
|
search_top_k: 5 # Number of semantic search results
|
|
|
|
# Scheduler settings
|
|
scheduler:
|
|
heartbeat_interval_minutes: 30
|
|
poll_interval_seconds: 60
|
|
|
|
# Local model endpoints (auto-detected)
|
|
ollama_url: "http://localhost:11434"
|
|
lmstudio_url: "http://localhost:1234"
|
|
|
|
# Safety settings
|
|
shell:
|
|
blocked_commands:
|
|
- "rm -rf /"
|
|
- "format"
|
|
- ":(){:|:&};:"
|
|
require_approval: false # If true, shell commands need user confirmation
|