-
Notifications
You must be signed in to change notification settings - Fork 186
Expand file tree
/
Copy path.env.example
More file actions
92 lines (87 loc) · 4.36 KB
/
Copy path.env.example
File metadata and controls
92 lines (87 loc) · 4.36 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
# LuaN1aoAgent v2 LLM configuration.
# Copy to .env and fill in real values. .env is gitignored — never commit keys.
# ---- Required ----
LLM_API_KEY=your-api-key
# Full base URL or full endpoint; trailing /chat/completions (or /responses) is normalized away.
LLM_API_BASE_URL=https://api.openai.com/v1
LLM_DEFAULT_MODEL=your-model-id
# openai-completions (default) or openai-responses
LLM_API_TYPE=openai-completions
# ---- LLM tuning (optional) ----
# max_completion_tokens for every role. Default 32768.
# Keep this well above 8192: reasoning models (e.g. glm-5.2) burn reasoning tokens
# inside the completion budget, and a small cap truncates structured submissions.
# Optional global override. Without it: Planner/Executor/Projector=16384, Supervisor=4096.
#LLM_MAX_TOKENS=32768
#LLM_CONTEXT_WINDOW=128000
# Default thinking level: off | minimal | low | medium | high | xhigh
#LLM_THINKING=off
# Thinking-param wire format. "zai" sends thinking:{type:...} and is verified on
# glm-5.2 (thinking off => reasoning_tokens = 0). Use "deepseek"/"qwen"/... to match
# other vendors, or "openai" for reasoning_effort style.
#LLM_THINKING_FORMAT=zai
# ---- Per-role overrides (optional), ROLE in PLANNER/EXECUTOR/SUPERVISOR/PROJECTOR ----
# Each role falls back to the shared values above when unset.
#LLM_PLANNER_MODEL=glm-5.2
#LLM_PLANNER_MAX_TOKENS=65536
#LLM_PLANNER_THINKING=low
#LLM_EXECUTOR_MODEL=deepseek-v4-pro
#LLM_EXECUTOR_MAX_TOKENS=16384
#LLM_EXECUTOR_THINKING=off
#LLM_SUPERVISOR_MODEL=
#LLM_PROJECTOR_MODEL=
# Per-role endpoint/key registers a dedicated provider for that role:
#LLM_EXECUTOR_BASE_URL=https://backup.example.com/v1
#LLM_EXECUTOR_API_KEY=another-key
# FIFO admission limit shared by roles using the same provider (default 3).
#LLM_PROVIDER_MAX_CONCURRENT=3
# ---- Runtime tuning (optional) ----
# Debug logging (1/true/yes): host egress broker rejection/dial lines on the CLI
# stderr, and gateway-tun dial-failure lines in Gateway container logs. Gateways
# are rebuilt when this flag toggles. Off by default.
#LUANNIAO_DEBUG=0
# Graceful run termination threshold when the Planner keeps failing (default 12).
#PLANNER_MAX_DEFERRED_FAILURES=12
# Web workbench bind address/port (defaults 127.0.0.1:8787; CLI --host/--port win).
# Binding beyond loopback exposes authenticated runtime data — trusted networks only.
#WEB_HOST=127.0.0.1
#WEB_PORT=8787
# Executor sandbox: docker (default, fails closed without a daemon) | auto |
# seatbelt | bubblewrap | workspace. auto prefers Docker and otherwise selects
# the native host backend; workspace is the explicit unsandboxed dev mode.
#EXECUTOR_SANDBOX_MODE=docker
#LUANNIAO_EXECUTOR_IMAGE=luanniao-executor:latest
#LUANNIAO_NETWORK_IMAGE=luanniao-network:latest
# Optional Chrome/Chromium executable for the workspace compatibility backend.
# Docker Executors use /usr/bin/chromium from LUANNIAO_EXECUTOR_IMAGE; hardened
# Seatbelt/Bubblewrap backends do not expose a host browser outside their boundary.
#LUANNIAO_CHROME_PATH=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
# Public address reachable from a Chisel pivot when reverse SOCKS is required.
#LUANNIAO_CHISEL_PUBLIC_HOST=
# Per-call bash timeout (seconds) applied when the model omits `timeout` (default 300).
#EXECUTOR_BASH_DEFAULT_TIMEOUT_S=300
# Time allowed for Executor to submit a structured result after checkpoint steering
# before Runtime aborts the epoch (default 120000 ms).
#EXECUTOR_CHECKPOINT_GRACE_MS=120000
# Target maximum Projector input size after adaptive compaction (default 32000 bytes).
#PROJECTOR_INPUT_TARGET_BYTES=32000
# Live projection threshold/max age and backlog batch size (defaults 16/45000/32).
#PROJECTOR_TOOL_WINDOW_SIZE=16
#PROJECTOR_MAX_OBSERVATIONS_PER_JOB=16
#PROJECTOR_CATCHUP_DELAY_MS=45000
#PROJECTOR_CATCHUP_MAX_OBSERVATIONS_PER_JOB=32
#MAX_ACTIVE_PROJECTION_JOBS=2
# Maximum time to drain terminal projection fences during graceful close.
#PROJECTION_DRAIN_TIMEOUT_MS=300000
# Per-epoch transparent capture limits. Each epoch retains at most 8 active/rotated
# files by default; bodies/messages are truncated only in the persisted copy.
#LUANNIAO_CAPTURE_BYTES=1048576
#LUANNIAO_TCP_CAPTURE_BYTES=65536
#LUANNIAO_MITM_SEGMENT_BYTES=67108864
#LUANNIAO_NET_SEGMENT_BYTES=16777216
#LUANNIAO_CAPTURE_MAX_FILES=8
#BWRAP_PATH=/usr/bin/bwrap
#TRAFFIC_PROXY_BINARY=traffic-proxy/bin/traffic-proxy
# ---- Research tools (optional) ----
#BRAVE_SEARCH_API_KEY=
#NVD_API_KEY=