CheddahBot/config.yaml

33 lines
825 B
YAML

# CheddahBot Configuration
# Default model to use on startup
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