Spaces:
Sleeping
Sleeping
Claude Code Claude Opus 4.6 commited on
Commit Β·
446051b
1
Parent(s): 57701c5
Claude Code: Add WORKER_MODE=auto to .env.example for guaranteed agent startup
Browse filesThe entrypoint.sh regenerates .env from .env.example on container startup.
Previously, WORKER_MODE was not set, causing the worker to potentially not start.
Now explicitly setting WORKER_MODE=auto ensures the agent loop is enabled.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- .env.example +9 -0
.env.example
CHANGED
|
@@ -26,6 +26,15 @@
|
|
| 26 |
OPENCLAW_PASSWORD=huggingclaw
|
| 27 |
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
# βββ DATA PERSISTENCE ββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 30 |
#
|
| 31 |
# HuggingClaw auto-syncs the ~/.openclaw directory to a private HF Dataset
|
|
|
|
| 26 |
OPENCLAW_PASSWORD=huggingclaw
|
| 27 |
|
| 28 |
|
| 29 |
+
# βββ WORKER MODE βββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 30 |
+
#
|
| 31 |
+
# Control whether the agent worker loop runs. Required for agent to process thoughts.
|
| 32 |
+
#
|
| 33 |
+
# [RECOMMENDED] Default: auto (enables worker on startup)
|
| 34 |
+
#
|
| 35 |
+
WORKER_MODE=auto
|
| 36 |
+
|
| 37 |
+
|
| 38 |
# βββ DATA PERSISTENCE ββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 39 |
#
|
| 40 |
# HuggingClaw auto-syncs the ~/.openclaw directory to a private HF Dataset
|