2026-09-03 12:46:14 +00:00
|
|
|
|
XAI_API_KEY=
|
2026-09-04 09:08:56 +00:00
|
|
|
|
OPENCODE_GO_API_KEY=
|
|
|
|
|
|
OPENAI_API_KEY=
|
2026-09-03 23:43:37 +00:00
|
|
|
|
# Generate independent values with: openssl rand -hex 32
|
|
|
|
|
|
LAZYBOY_APP_TOKEN=
|
|
|
|
|
|
SANDBOX_SUPERVISOR_TOKEN=
|
2026-09-05 09:41:44 +00:00
|
|
|
|
# Keep this key stable when rotating the app login token.
|
|
|
|
|
|
LAZYBOY_VAULT_KEY=
|
|
|
|
|
|
POSTGRES_PASSWORD=lazyboy
|
2026-09-07 06:20:33 +00:00
|
|
|
|
# 127.0.0.1 = 只有本機;0.0.0.0 = 開放區網(需 LAZYBOY_APP_TOKEN >= 32 字元);
|
|
|
|
|
|
# 也可填單一網卡的 IP,把監聽限制在那個介面。
|
2026-09-05 09:41:44 +00:00
|
|
|
|
LAZYBOY_BIND_IP=127.0.0.1
|
2026-09-03 12:46:14 +00:00
|
|
|
|
SANDBOX_PROVIDER=docker
|
|
|
|
|
|
DATABASE_URL=postgres://lazyboy:lazyboy@127.0.0.1:5434/lazyboy
|
|
|
|
|
|
DATA_DIR=./data
|
2026-09-05 09:41:44 +00:00
|
|
|
|
API_BIND=127.0.0.1:3101
|
2026-09-03 23:43:37 +00:00
|
|
|
|
SANDBOX_SUPERVISOR_URL=http://127.0.0.1:7091
|
|
|
|
|
|
LAZYBOY_SECURE_COOKIE=false
|
2026-09-03 12:46:14 +00:00
|
|
|
|
LAZYBOY_COMPUTER_MEMORY_MB=2048
|
|
|
|
|
|
LAZYBOY_COMPUTER_CPUS=2
|
|
|
|
|
|
LAZYBOY_COMPUTER_PIDS=2048
|
2026-09-06 03:43:38 +00:00
|
|
|
|
# Only affects the Agent desktop container. Disabled by default.
|
|
|
|
|
|
LAZYBOY_COMPUTER_SUDO=false
|
2026-09-07 14:23:38 +00:00
|
|
|
|
# Computer-control backend inside each desktop container. Rebuild/recreate
|
2026-09-07 16:40:59 +00:00
|
|
|
|
# computers after changing. `cua` is the opt-in Cua Driver backend; `legacy` (default) is
|
2026-09-07 14:23:38 +00:00
|
|
|
|
# CDP/AT-SPI/xdotool rollback.
|
2026-09-07 16:40:59 +00:00
|
|
|
|
LAZYBOY_COMPUTER_DRIVER=legacy
|
2026-09-06 03:43:38 +00:00
|
|
|
|
# Linux only (optional): point this at the host's LXCFS root to make htop/free
|
|
|
|
|
|
# report the per-Agent cgroup quota. Leave the default empty directory on macOS.
|
|
|
|
|
|
LAZYBOY_LXCFS_ROOT=./data/lxcfs
|
2026-09-07 13:08:10 +00:00
|
|
|
|
# 任務長度政策:不再用固定輪數掐掉任務。正常任務一路做到驗證完成,只有
|
|
|
|
|
|
# 真的鬼打牆(同一個動作重複、同一個錯誤一直失敗、很久沒有新的成功)才會被
|
|
|
|
|
|
# 提示、接著暫停等你決定;最後兩個是防迴圈失控烧 token 的保險絲,不是額度。
|
|
|
|
|
|
# soft turns:第 60 輪起,之後每 soft every 輪請模型自我交代「已完成/還缺/下一步」
|
|
|
|
|
|
# cap turns / hard minutes:最後防火牆,正常任務不該碰到
|
|
|
|
|
|
LAZYBOY_RUN_SOFT_TURNS=60
|
|
|
|
|
|
LAZYBOY_RUN_SOFT_EVERY=120
|
|
|
|
|
|
LAZYBOY_RUN_CAP_TURNS=1000
|
|
|
|
|
|
LAZYBOY_RUN_SOFT_MINUTES=75
|
|
|
|
|
|
LAZYBOY_RUN_HARD_MINUTES=240
|
|
|
|
|
|
|
2026-09-03 23:43:37 +00:00
|
|
|
|
LAZYBOY_MEMORY_ENABLED=true
|
|
|
|
|
|
LAZYBOY_MEMORY_MODEL_CACHE=./data/fastembed
|
|
|
|
|
|
LAZYBOY_MEMORY_TOP_K=8
|
|
|
|
|
|
LAZYBOY_MEMORY_BYTE_BUDGET=6000
|
2026-09-06 03:43:38 +00:00
|
|
|
|
|
|
|
|
|
|
# Hourly cleanup of diagnostics; conversations and current memories are retained.
|
|
|
|
|
|
LAZYBOY_EVENT_RETENTION_DAYS=30
|
|
|
|
|
|
LAZYBOY_CHECKPOINT_RETENTION_DAYS=7
|
|
|
|
|
|
LAZYBOY_RUN_RETENTION_DAYS=90
|
2026-09-07 08:27:33 +00:00
|
|
|
|
# Per-run trace shown when hovering the thinking avatar (round, tool results, errors).
|
|
|
|
|
|
LAZYBOY_RUN_ACTIVITY_RETENTION_DAYS=7
|
2026-09-06 03:43:38 +00:00
|
|
|
|
LAZYBOY_RECORDING_RETENTION_DAYS=30
|
|
|
|
|
|
LAZYBOY_MEMORY_HISTORY_RETENTION_DAYS=90
|
|
|
|
|
|
LAZYBOY_DB_WARN_MB=1024
|
2026-09-07 06:20:33 +00:00
|
|
|
|
|
|
|
|
|
|
# Docker 網路名稱:API 與 Agent 電腦的 noVNC 透過它相通(容器內用,不對外)。
|
|
|
|
|
|
# 同時跑多組 LazyBoy 時改這個名字避免相撞。
|
|
|
|
|
|
LAZYBOY_SCREEN_NETWORK=lazyboy_screen
|