-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsquirrel.toml.example
More file actions
61 lines (48 loc) · 1.38 KB
/
squirrel.toml.example
File metadata and controls
61 lines (48 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Squirrel Configuration File (TOML)
#
# Copy to 'squirrel.toml' and customize as needed.
#
# Configuration precedence (highest to lowest):
# 1. Environment variables (SQUIRREL_*)
# 2. CLI arguments
# 3. This configuration file
# 4. Built-in defaults
[server]
# Unix socket path (overrides default XDG discovery)
# Default: /run/user/<uid>/biomeos/squirrel.sock
#socket = "/run/user/1000/biomeos/squirrel.sock"
# Run as daemon (detach from terminal)
daemon = false
# Maximum concurrent connections
max_connections = 100
# Request timeout in seconds
request_timeout_secs = 30
[ai]
# Enable AI router
enabled = true
# Enable retry with fallback providers
enable_retry = true
# Maximum retry attempts
max_retries = 2
# Vendor-agnostic provider configuration:
# - LOCAL_AI_ENDPOINT env var for local models (Ollama, llama.cpp, vLLM)
# - OPENAI_API_KEY, ANTHROPIC_API_KEY, etc. for cloud providers
# - MODEL_HUB_CACHE_DIR for HuggingFace/ModelScope
[logging]
# Log level: trace, debug, info, warn, error
level = "info"
# Enable JSON logging (for structured logging)
json = false
# Log to file (optional)
# file = "/var/log/squirrel/squirrel.log"
[discovery]
# Announce capabilities to registry on startup
announce_capabilities = true
# Capabilities to announce (JSON-RPC method namespaces)
capabilities = [
"ai.query",
"ai.complete",
"context.create",
"tool.execute",
"tool.list",
]