forked from qwibitai/nanoclaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (29 loc) · 1.55 KB
/
.env.example
File metadata and controls
33 lines (29 loc) · 1.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
DISCORD_BOT_TOKEN=
# Signal (via signal-cli-rest-api Docker container)
# SIGNAL_API_URL=http://localhost:18080
# SIGNAL_PHONE_NUMBER=+1XXXXXXXXXX
# Chat ingest (Discord + Signal → brain)
BRAIN_SAVE_EMOJI=🧠
CHAT_CACHE_TTL_HOURS=24
BRAIN_ATTACHMENT_MAX_BYTES=26214400
BRAIN_ATTACHMENT_DIR= # defaults to ~/.nanoclaw/chat-attachments
BRAIN_IMAGE_VISION=true
# --- PR 2: chat windowed-ingest tunables ---
WINDOW_IDLE_MS=900000 # 15 min — idle gap before window flush
WINDOW_CAP=50 # max messages per window before forced flush
WINDOW_DAILY_FLUSH_HOUR=23 # 0–23, local hour for daily flush of all open windows
BRAIN_LLM_BUDGET_CHAT_PCT=30 # share of daily LLM budget reserved for chat (0–100)
# --- Auto-merge (duplicate entity detection) ---
# Master switch. Off by default. When false, the sweep is a no-op.
BRAIN_MERGE_AUTO_ENABLED=false
# Minimum confidence for silent auto-merge. Default 1.0 = only hard-id matches.
# (Reserved for future tuning — v1 hardcodes 1.0; changes have no effect today.)
BRAIN_MERGE_AUTO_HIGH_CONF_THRESHOLD=1.0
# Minimum confidence for chat suggestion. Default 0.5.
# (Reserved for future tuning — v1 hardcodes 0.6; changes have no effect today.)
BRAIN_MERGE_AUTO_SUGGEST_THRESHOLD=0.5
# Dry-run mode: log would-merges and would-suggestions but write nothing.
BRAIN_MERGE_AUTO_DRY_RUN=false
# When false, suggestions are persisted to the suggestions table but no
# chat message is sent. Useful for "build up the table first, then turn on chat".
BRAIN_MERGE_AUTO_NOTIFY_CHAT=true