-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml
More file actions
118 lines (104 loc) · 5.32 KB
/
Copy pathconfig.yaml
File metadata and controls
118 lines (104 loc) · 5.32 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
# ═══════════════════════════════════════════════════════════════
# Vector x OpenClaw — Central Configuration
# All tunable constants in one place. No code edits to tune.
# ═══════════════════════════════════════════════════════════════
# ─── Robot Connection ─────────────────────────────────────────
robot:
ip: "192.168.4.32"
guid: "XcsYlI0Rf5CUMi/Nmbs+3w=="
cert: "~/.anki_vector/Vector-T3V8-008079ec.cert"
serial: "Vector-T3V8-008079ec"
# ─── Battery Thresholds ──────────────────────────────────────
battery:
low_voltage: 3.6 # Start SEEK_DOCK
critical_voltage: 3.5 # Emergency dock
full_voltage: 4.05 # Considered fully charged
resume_voltage: 3.90 # Resume pending mission (80%)
# ─── Heartbeat & Monitoring ──────────────────────────────────
heartbeat:
exploring_interval_s: 10
docked_interval_s: 60
feed_stale_threshold_s: 30 # Feed age triggers self-heal L1
feed_critical_threshold_s: 60 # Feed age triggers SAFE_MODE
# ─── Self-Heal Ladder ────────────────────────────────────────
self_heal:
l1_timeout_s: 15
l2_timeout_s: 30
l3_timeout_s: 60
l1_max_retries_per_window: 3
l1_window_s: 300 # 3 L1s in 5 min → escalate to L2
# ─── Schematics ──────────────────────────────────────────────
schematics:
exploring_cadence_s: 10
docked_cadence_s: 60
storage_dir: "~/vector_schematics"
snapshot_retention_days: 30
# ─── Learning Engine ─────────────────────────────────────────
learning:
quick_scan_interval_s: 1800 # 30 minutes
curiosity_interval_s: 3600 # 60 minutes
deep_scan_interval_s: 14400 # 4 hours
min_battery_for_movement: 3.7
image_quality: 50 # JPEG quality (lower = less RAM)
# ─── AI Models ───────────────────────────────────────────────
models:
local_chat: "vector:brain"
local_vision: "llava"
ollama_host: "http://localhost:11434"
num_predict_vision: 80 # Max tokens for vision response
num_predict_chat: 150 # Max tokens for chat response
model_keep_alive_s: 600 # Keep warm 10 min (saves reload time)
openclaw_agent: "vector" # Agent ID for OpenClaw calls
openclaw_url: "http://127.0.0.1:43721/v1/chat/completions"
# ─── Cloud Fallback (Gemini) ─────────────────────────────────
cloud:
enabled: false # Toggle via dashboard or config
provider: "gemini"
model: "gemini-2.0-flash"
api_key_env: "GEMINI_API_KEY" # Read from environment variable
cache_dir: "~/vector_memory/gemini_cache"
cache_ttl_hours: 24
max_calls_per_hour: 20
log_every_call: true
# ─── Discord Ops ─────────────────────────────────────────────
discord:
enabled: false # Set true when bot token configured
bot_token_env: "DISCORD_BOT_TOKEN"
guild_id: null
channels:
live: "vector-live"
decisions: "vector-decisions"
errors: "vector-errors"
nightly: "vector-nightly"
nightly_summary_hour: 0 # Midnight local time
# ─── Dashboard ───────────────────────────────────────────────
dashboard:
host: "0.0.0.0"
port: 8000
qa_interval_s: 60
healthcheck_ttl_s: 5
# ─── Safety ──────────────────────────────────────────────────
safety:
proximity_danger_mm: 80
proximity_caution_mm: 150
cliff_stop_backup_mm: 50
max_explore_minutes: 30 # Return to dock after this
pickup_stop_motors: true
# ─── Growth / Personality ────────────────────────────────────
growth:
xp_per_explore_cycle: 15
xp_per_dock_success: 5
xp_per_discovery: 10
resilience_per_recovery: 2
skill_unlock_stability_weeks: 1
profiles_dir: "~/vector_profiles"
# ─── Charger / Auto-Wake ─────────────────────────────────────
charger:
idle_wake_seconds: 300 # 5 min idle on charger → wake
auto_explore_on_full: true
# ─── Logging ─────────────────────────────────────────────────
logging:
level: "INFO"
file: "~/vector_logs/vector.log"
max_size_mb: 50
rotation_count: 5