anurag008w commited on
Commit
67667ce
·
unverified ·
1 Parent(s): 0ad2476

Delete ENV_VARIABLES_FULL_LIST.md

Browse files
Files changed (1) hide show
  1. ENV_VARIABLES_FULL_LIST.md +0 -254
ENV_VARIABLES_FULL_LIST.md DELETED
@@ -1,254 +0,0 @@
1
- # ENV Variables Full List (Repo Scope)
2
-
3
- > Internal reference file. Not linked from README/docs navigation.
4
-
5
- ## 1) User-settable (Space Secrets / `.env`)
6
-
7
- These are the main variables you can set directly.
8
-
9
- ### Core startup/auth
10
- - `LLM_API_KEY` — string API key. Example: `LLM_API_KEY=sk-ant-xxxx`
11
- - `LLM_MODEL` — `provider/model-id` string. Examples:
12
- - `LLM_MODEL=anthropic/claude-sonnet-4-5`
13
- - `LLM_MODEL=nvidia/meta/llama-3.1-70b-instruct`
14
- - `GATEWAY_TOKEN` — random secret string. Example: `GATEWAY_TOKEN=9d2f...`
15
- - `OPENCLAW_PASSWORD` — plaintext password string. Example: `OPENCLAW_PASSWORD=MyStrongPass123`
16
-
17
- ### Provider fallback/selection
18
- - `LLM_API_KEY_FALLBACK_ENABLED` — boolean-like:
19
- - enabled: `true`, `1`, `yes`, `on`
20
- - disabled: `false`, `0`, `no`, `off`
21
- - default/example: `LLM_API_KEY_FALLBACK_ENABLED=true`
22
-
23
- ### Provider-specific keys (single-key form)
24
- Use plain provider key strings. Examples:
25
- - `NVIDIA_API_KEY=nvapi-xxxx`
26
- - `OPENAI_API_KEY=sk-xxxx`
27
- - `GEMINI_API_KEY=AIzaSyxxxx`
28
-
29
- Full list:
30
- - `ANTHROPIC_API_KEY`
31
- - `OPENAI_API_KEY`
32
- - `GEMINI_API_KEY`
33
- - `DEEPSEEK_API_KEY`
34
- - `OPENROUTER_API_KEY`
35
- - `KILOCODE_API_KEY`
36
- - `OPENCODE_API_KEY`
37
- - `ZAI_API_KEY`
38
- - `MOONSHOT_API_KEY`
39
- - `KIMI_API_KEY`
40
- - `MINIMAX_API_KEY`
41
- - `MODELSTUDIO_API_KEY`
42
- - `XIAOMI_API_KEY`
43
- - `VOLCANO_ENGINE_API_KEY`
44
- - `BYTEPLUS_API_KEY`
45
- - `QIANFAN_API_KEY`
46
- - `MISTRAL_API_KEY`
47
- - `XAI_API_KEY`
48
- - `NVIDIA_API_KEY`
49
- - `COHERE_API_KEY`
50
- - `GROQ_API_KEY`
51
- - `TOGETHER_API_KEY`
52
- - `CEREBRAS_API_KEY`
53
- - `VENICE_API_KEY`
54
- - `SYNTHETIC_API_KEY`
55
- - `COPILOT_GITHUB_TOKEN`
56
- - `HUGGINGFACE_HUB_TOKEN`
57
- - `AI_GATEWAY_API_KEY`
58
-
59
- ### Provider key pools (comma-separated rotation)
60
- Format: comma-separated keys, no spaces required. Examples:
61
- - `NVIDIA_API_KEYS=nvapi-key1,nvapi-key2`
62
- - `OPENAI_API_KEYS=sk-a,sk-b,sk-c`
63
-
64
- Full list:
65
- - `ANTHROPIC_API_KEYS`
66
- - `OPENAI_API_KEYS`
67
- - `GEMINI_API_KEYS`
68
- - `DEEPSEEK_API_KEYS`
69
- - `OPENROUTER_API_KEYS`
70
- - `KILOCODE_API_KEYS`
71
- - `OPENCODE_API_KEYS`
72
- - `ZAI_API_KEYS`
73
- - `MOONSHOT_API_KEYS`
74
- - `MINIMAX_API_KEYS`
75
- - `XIAOMI_API_KEYS`
76
- - `VOLCANO_ENGINE_API_KEYS`
77
- - `BYTEPLUS_API_KEYS`
78
- - `QIANFAN_API_KEYS`
79
- - `MODELSTUDIO_API_KEYS`
80
- - `KIMI_API_KEYS`
81
- - `MISTRAL_API_KEYS`
82
- - `XAI_API_KEYS`
83
- - `NVIDIA_API_KEYS`
84
- - `GROQ_API_KEYS`
85
- - `COHERE_API_KEYS`
86
- - `TOGETHER_API_KEYS`
87
- - `CEREBRAS_API_KEYS`
88
- - `HUGGINGFACE_HUB_TOKENS`
89
-
90
- ### Provider model lists (optional, for Control UI visibility)
91
- Format: comma-separated model IDs; used only when that provider has key(s) configured.
92
- Examples:
93
- - `NVIDIA_MODELS=meta/llama-3.1-70b-instruct,nvidia/llama-3.1-nemotron-70b-instruct`
94
- - `OPENAI_MODELS=gpt-4o-mini,gpt-4.1`
95
- - `GROQ_MODELS=llama-3.3-70b-versatile,deepseek-r1-distill-llama-70b`
96
-
97
- Supported:
98
- - `ANTHROPIC_MODELS`
99
- - `OPENAI_MODELS`
100
- - `GEMINI_MODELS`
101
- - `DEEPSEEK_MODELS`
102
- - `OPENROUTER_MODELS`
103
- - `KILOCODE_MODELS`
104
- - `OPENCODE_MODELS`
105
- - `ZAI_MODELS`
106
- - `MOONSHOT_MODELS`
107
- - `KIMI_MODELS`
108
- - `MINIMAX_MODELS`
109
- - `MODELSTUDIO_MODELS`
110
- - `XIAOMI_MODELS`
111
- - `VOLCANO_ENGINE_MODELS`
112
- - `BYTEPLUS_MODELS`
113
- - `QIANFAN_MODELS`
114
- - `GROQ_MODELS`
115
- - `MISTRAL_MODELS`
116
- - `XAI_MODELS`
117
- - `NVIDIA_MODELS`
118
- - `COHERE_MODELS`
119
- - `TOGETHER_MODELS`
120
- - `CEREBRAS_MODELS`
121
-
122
- ### Telegram / WhatsApp
123
- - `TELEGRAM_BOT_TOKEN` — bot token string. Example: `TELEGRAM_BOT_TOKEN=123456:ABC...`
124
- - `TELEGRAM_ALLOWED_USERS` — comma-separated numeric IDs. Example: `TELEGRAM_ALLOWED_USERS=12345,67890`
125
- - `TELEGRAM_USER_ID` — legacy single numeric ID. Example: `TELEGRAM_USER_ID=12345`
126
- - `TELEGRAM_USER_IDS` — legacy comma-separated IDs. Example: `TELEGRAM_USER_IDS=12345,67890`
127
- - `WHATSAPP_ENABLED` — boolean-like (`true/false`, `1/0`, `yes/no`, `on/off`). Example: `WHATSAPP_ENABLED=true`
128
-
129
- ### Backup/sync
130
- - `HF_TOKEN` — HF token string. Example: `HF_TOKEN=hf_xxxxx`
131
- - `HF_USERNAME` — HF username string. Example: `HF_USERNAME=myhandle`
132
- - `BACKUP_DATASET_NAME` — dataset slug string. Example: `BACKUP_DATASET_NAME=huggingclaw-backup`
133
- - `SYNC_INTERVAL` — integer seconds. Example: `SYNC_INTERVAL=180`
134
- - `SYNC_START_DELAY` — integer seconds. Example: `SYNC_START_DELAY=10`
135
- - `SYNC_MAX_FILE_BYTES` — integer bytes. Example: `SYNC_MAX_FILE_BYTES=52428800`
136
- - `OPENCLAW_CONFIG_WATCH_INTERVAL` — number (supports decimal seconds). Example: `OPENCLAW_CONFIG_WATCH_INTERVAL=1`
137
- - `OPENCLAW_CONFIG_SETTLE_SECONDS` — number (supports decimal seconds). Example: `OPENCLAW_CONFIG_SETTLE_SECONDS=3`
138
-
139
- ### Gateway/runtime tuning
140
- - `GATEWAY_HOST` — hostname/IP string. Example: `GATEWAY_HOST=127.0.0.1`
141
- - `GATEWAY_PORT` — integer port. Example: `GATEWAY_PORT=3456`
142
- - `GATEWAY_VERBOSE` — boolean-like. Example: `GATEWAY_VERBOSE=true`
143
- - `GATEWAY_READY_TIMEOUT` — integer seconds. Example: `GATEWAY_READY_TIMEOUT=60`
144
- - `GATEWAY_MAX_RESTARTS` — integer count. Example: `GATEWAY_MAX_RESTARTS=10`
145
- - `GATEWAY_RESTART_DELAY` — integer seconds. Example: `GATEWAY_RESTART_DELAY=2`
146
- - `TRUSTED_PROXIES` — comma-separated CIDR/IP list. Example: `TRUSTED_PROXIES=127.0.0.1,10.0.0.0/8`
147
- - `ALLOWED_ORIGINS` — comma-separated origins. Example: `ALLOWED_ORIGINS=https://a.com,https://b.com`
148
- - `PORT` — integer external port. Example: `PORT=7860`
149
-
150
- ### Browser/plugin controls
151
- - `BROWSER_PLUGIN_MODE` — mode string (`auto`, `builtin`, `external`, etc. depending on runtime). Example: `BROWSER_PLUGIN_MODE=auto`
152
- - `BROWSER_EXECUTABLE_PATH` — absolute path. Example: `BROWSER_EXECUTABLE_PATH=/usr/bin/chromium`
153
- - `BROWSER_DISABLED` — boolean-like. Example: `BROWSER_DISABLED=false`
154
- - `ACP_PLUGIN_MODE` — mode string. Example: `ACP_PLUGIN_MODE=auto`
155
- - `ACPX_DISABLED` — boolean-like. Example: `ACPX_DISABLED=true`
156
-
157
- ### OpenClaw logging/behavior
158
- - `OPENCLAW_VERSION` — image/app version string. Example: `OPENCLAW_VERSION=latest`
159
- - `OPENCLAW_RUNTIME_VERSION` — runtime tag string. Example: `OPENCLAW_RUNTIME_VERSION=v1.2.3`
160
- - `OPENCLAW_DISPLAY_VERSION` — display label string. Example: `OPENCLAW_DISPLAY_VERSION=Custom`
161
- - `OPENCLAW_DISABLE_BONJOUR` — boolean-like. Example: `OPENCLAW_DISABLE_BONJOUR=true`
162
- - `OPENCLAW_CONSOLE_LOG_LEVEL` — log level (`trace|debug|info|warn|error`). Example: `OPENCLAW_CONSOLE_LOG_LEVEL=warn`
163
- - `OPENCLAW_CONSOLE_LOG_STYLE` — style string. Example: `OPENCLAW_CONSOLE_LOG_STYLE=pretty`
164
- - `OPENCLAW_FILE_LOG_LEVEL` — log level (`trace|debug|info|warn|error`). Example: `OPENCLAW_FILE_LOG_LEVEL=info`
165
-
166
- ### Custom OpenAI-compatible provider
167
- - `CUSTOM_PROVIDER_NAME` — unique provider prefix. Example: `CUSTOM_PROVIDER_NAME=modal`
168
- - `CUSTOM_BASE_URL` — base URL only (not `/chat/completions`). Example: `CUSTOM_BASE_URL=https://api.modal.com/v1`
169
- - `CUSTOM_MODEL_ID` — model id string. Example: `CUSTOM_MODEL_ID=zai-org/GLM-5.1-FP8`
170
- - `CUSTOM_MODEL_NAME` — display name. Example: `CUSTOM_MODEL_NAME=GLM 5.1 FP8`
171
- - `CUSTOM_API_KEY` — provider key string. Example: `CUSTOM_API_KEY=sk-xxxx`
172
- - `CUSTOM_API_TYPE` — API mode string. Example: `CUSTOM_API_TYPE=openai-completions`
173
- - `CUSTOM_CONTEXT_WINDOW` — integer token window. Example: `CUSTOM_CONTEXT_WINDOW=128000`
174
- - `CUSTOM_MAX_TOKENS` — integer max tokens. Example: `CUSTOM_MAX_TOKENS=500`
175
-
176
- ### Cloudflare proxy/keepalive
177
- - `CLOUDFLARE_WORKERS_TOKEN` — API token string. Example: `CLOUDFLARE_WORKERS_TOKEN=cf_xxx`
178
- - `CLOUDFLARE_WORKER_NAME` — worker name string. Example: `CLOUDFLARE_WORKER_NAME=huggingclaw-proxy`
179
- - `CLOUDFLARE_ACCOUNT_ID` — account id string. Example: `CLOUDFLARE_ACCOUNT_ID=abc123...`
180
- - `CLOUDFLARE_PROXY_URL` — full proxy URL. Example: `CLOUDFLARE_PROXY_URL=https://my-worker.workers.dev`
181
- - `CLOUDFLARE_PROXY_SECRET` — shared secret string. Example: `CLOUDFLARE_PROXY_SECRET=long-random-secret`
182
- - `CLOUDFLARE_PROXY_DOMAINS` — comma-separated domains. Example: `CLOUDFLARE_PROXY_DOMAINS=api.openai.com,api.anthropic.com`
183
- - `CLOUDFLARE_PROXY_DEBUG` — boolean-like. Example: `CLOUDFLARE_PROXY_DEBUG=false`
184
- - `CLOUDFLARE_KEEPALIVE_ENABLED` — boolean-like. Example: `CLOUDFLARE_KEEPALIVE_ENABLED=true`
185
- - `CLOUDFLARE_KEEPALIVE_URL` — URL string. Example: `CLOUDFLARE_KEEPALIVE_URL=https://space-url.hf.space`
186
- - `CLOUDFLARE_KEEPALIVE_CRON` — cron string. Example: `CLOUDFLARE_KEEPALIVE_CRON=*/5 * * * *`
187
- - `CLOUDFLARE_KEEPALIVE_WORKER_NAME` — worker name string. Example: `CLOUDFLARE_KEEPALIVE_WORKER_NAME=huggingclaw-keepalive`
188
-
189
- ### Startup command replay/install helpers
190
- - `HUGGINGCLAW_RUN` — shell commands string. Example: `HUGGINGCLAW_RUN=apt-get update && apt-get install -y ffmpeg`
191
- - `HUGGINGCLAW_APT_PACKAGES` — comma/space separated package names. Example: `HUGGINGCLAW_APT_PACKAGES=ffmpeg,git`
192
- - `HUGGINGCLAW_PIP_PACKAGES` — pip package list string. Example: `HUGGINGCLAW_PIP_PACKAGES=yt-dlp,requests`
193
- - `HUGGINGCLAW_NPM_PACKAGES` — npm package list string. Example: `HUGGINGCLAW_NPM_PACKAGES=sharp,axios`
194
- - `HUGGINGCLAW_OPENCLAW_PLUGINS` — plugin ids list string. Example: `HUGGINGCLAW_OPENCLAW_PLUGINS=@openclaw/telegram,@openclaw/whatsapp`
195
- - `HUGGINGCLAW_STARTUP_SCRIPT` — shell script string. Example: `HUGGINGCLAW_STARTUP_SCRIPT=echo hello`
196
- - `HUGGINGCLAW_STARTUP_SCRIPT_B64` — base64 script content. Example: `HUGGINGCLAW_STARTUP_SCRIPT_B64=IyEvYmluL2Jhc2gKZWNobyBoaQ==`
197
- - `HUGGINGCLAW_STARTUP_COMMANDS` — newline/semicolon commands string.
198
- - `HUGGINGCLAW_STARTUP_STRICT` — boolean-like. Example: `HUGGINGCLAW_STARTUP_STRICT=true`
199
- - `WEBHOOK_URL` — webhook endpoint URL. Example: `WEBHOOK_URL=https://hooks.example.com/hc`
200
-
201
- ---
202
-
203
- ## 2) Runtime/Internal envs (normally do **not** set manually)
204
-
205
- These are mostly derived/temporary/process variables used by scripts:
206
-
207
- - `APP_BASE`
208
- - `BACKUP_DATASET`
209
- - `BROWSER_SHOULD_ENABLE`
210
- - `CF_PROXY_ENV_FILE`
211
- - `CLEAN_TG_TOKEN`
212
- - `CONFIG_JSON`
213
- - `CUSTOM_BASE_URL_NORMALIZED`
214
- - `CUSTOM_PROVIDER_NORMALIZED`
215
- - `CUSTOM_PROVIDER_OK`
216
- - `DEBIAN_FRONTEND`
217
- - `ERRORS`
218
- - `EXISTING_CONFIG`
219
- - `GATEWAY_EXIT_CODE`
220
- - `GATEWAY_PID`
221
- - `GATEWAY_RESTART_COUNT`
222
- - `GUARDIAN_PID`
223
- - `HC_STARTUP_FAILURES`
224
- - `HC_STARTUP_INDEX`
225
- - `HC_STARTUP_STRICT_NORMALIZED`
226
- - `HC_STARTUP_VAR`
227
- - `HOME`
228
- - `IDS_JSON`
229
- - `INSTALLS`
230
- - `LLM_PROVIDER`
231
- - `NODE_OPTIONS`
232
- - `NPM_CONFIG_PREFIX`
233
- - `OPENCLAW_APP_DIR`
234
- - `OPENCLAW_CONSOLE_LOG_LEVEL_CONFIGURED`
235
- - `OPENCLAW_CONSOLE_LOG_STYLE_CONFIGURED`
236
- - `OPENCLAW_FILE_LOG_LEVEL_CONFIGURED`
237
- - `ORIGINS_JSON`
238
- - `PATCHED`
239
- - `PATH`
240
- - `PLUGIN_ALLOW_JSON`
241
- - `PROXIES_JSON`
242
- - `PROXY_URL`
243
- - `PYTHONUSERBASE`
244
- - `RESET_MARKER_PATH`
245
- - `SPACE_AUTHOR_NAME`
246
- - `SPACE_HOST`
247
- - `SPACE_REPO_NAME`
248
- - `STARTUP_FILE`
249
- - `SYNC_LOOP_PID`
250
- - `VIRTUAL_ENV`
251
- - `WEBHOOK_BODY`
252
- - `WHATSAPP_CONFIG_ENABLED`
253
- - `WHATSAPP_ENABLED_CONFIGURED`
254
- - `WHATSAPP_ENABLED_NORMALIZED`