-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
133 lines (117 loc) · 4.55 KB
/
Copy pathconfig.yaml
File metadata and controls
133 lines (117 loc) · 4.55 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
# =============================================================================
# Monad-Ultron — Main Runtime Configuration
# =============================================================================
# All paths are resolved relative to the Monad installation root (USB root).
application:
name: "Monad-Ultron"
codename: "Ultron"
version: "0.1.0"
environment: "production" # production | development
debug: false
# -----------------------------------------------------------------------------
# Filesystem paths (relative to Monad root unless absolute)
# -----------------------------------------------------------------------------
paths:
models_dir: "models"
memory_dir: "memory_data"
workspace_dir: "workspace"
logs_dir: "logs"
cache_dir: "cache"
config_dir: "config"
plugins_dir: "monad/plugins"
# -----------------------------------------------------------------------------
# Runtime behavior
# -----------------------------------------------------------------------------
runtime:
# Default inference provider (registered in monad/inference/)
default_engine: "llama_cpp"
# Default model to auto-load at startup (referenced by ID from models.yaml)
default_model: "longcat2"
# Max concurrent loaded models (VRAM permitting)
max_loaded_models: 1
# Auto-detect GPU + CUDA on startup
auto_detect_gpu: true
# If USB drive is detected as removable, run in "portable mode"
# (all state stays on USB, none written to host)
portable_mode: true
# -----------------------------------------------------------------------------
# Logging
# -----------------------------------------------------------------------------
logging:
level: "INFO" # DEBUG | INFO | WARNING | ERROR
console: true
file: true
file_rotation: "10 MB"
file_retention: "7 days"
format_compact: false
# -----------------------------------------------------------------------------
# Router / Intent classification (Build #014)
# -----------------------------------------------------------------------------
router:
strategy: "single_model" # single_model | multi_model
intent_classifier: "rules" # rules | llm-based (future)
# -----------------------------------------------------------------------------
# Multi-model orchestration (Build #017)
# -----------------------------------------------------------------------------
orchestration:
enabled: true
# "auto" chooses per intent; or force one:
# domain_routing | cascade | mixture_of_agents | verification | ensemble
default_strategy: "auto"
max_workers: 3 # parallel proposer threads
# Map role -> model id (must match models.yaml entries)
model_pool:
reasoning: "longcat2"
coding: "glm5"
creative: "llama2"
# Cascade escalation threshold (0.0–1.0)
cascade_threshold: 0.55
# -----------------------------------------------------------------------------
# Chat engine (Build #013)
# -----------------------------------------------------------------------------
chat:
max_history: 20
temperature: 0.7
top_p: 0.9
max_tokens: 2048
stream: true
# -----------------------------------------------------------------------------
# Memory layer (Build #026+) — stubs for now
# -----------------------------------------------------------------------------
memory:
enabled: false
backend: "sqlite"
vector_store: "chromadb"
# -----------------------------------------------------------------------------
# Policy gate (Build #056+) — all impactful actions require approval
# -----------------------------------------------------------------------------
policy:
require_approval_for:
- "filesystem.write"
- "filesystem.delete"
- "terminal.exec"
- "python.exec"
- "browser.navigate"
- "git.push"
approval_mode: "cli" # cli | dashboard | auto (dev only)
# -----------------------------------------------------------------------------
# Tool framework (Build #036+)
# -----------------------------------------------------------------------------
tools:
enabled: [] # will be populated as tools land
sandbox_python: true
sandbox_terminal: true
# -----------------------------------------------------------------------------
# Plugins
# -----------------------------------------------------------------------------
plugins:
auto_load:
- "health"
- "system_info"
# -----------------------------------------------------------------------------
# Future — API server (Build #056+)
# -----------------------------------------------------------------------------
api:
enabled: false
host: "127.0.0.1"
port: 8765