-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
93 lines (73 loc) · 6.04 KB
/
.env.example
File metadata and controls
93 lines (73 loc) · 6.04 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
93
# OpenClaw E2E Test Suite Configuration
# Copy this file to .env and fill in your values:
# cp .env.example .env
#
# Or run: ./setup.sh to auto-detect settings
# ══════════════════════════════════════════════════════════════════
# REQUIRED — Gateway URL (at minimum, set this)
# ══════════════════════════════════════════════════════════════════
OPENCLAW_GATEWAY_URL="http://localhost:18789"
# ══════════════════════════════════════════════════════════════════
# GATEWAY ACCESS — Choose one method
# ══════════════════════════════════════════════════════════════════
# Method A: SSH to remote Docker host (NAS, VPS, remote server)
# OPENCLAW_SSH_HOST="user@192.168.1.100"
# OPENCLAW_DOCKER_BIN="docker" # Full path if not in PATH
# OPENCLAW_CONTAINER="openclaw-gateway"
# Method B: Local Docker (gateway runs in Docker on this machine)
# OPENCLAW_DOCKER_BIN="docker"
# OPENCLAW_CONTAINER="openclaw-gateway"
# Method C: Native (gateway runs directly on this machine, no Docker)
# Reads config and logs from disk. Runs ~80 of ~95 tests.
# OPENCLAW_NATIVE=true
# OPENCLAW_MAC_CONFIG_DIR="$HOME/.openclaw" # Default — change if non-standard
# OPENCLAW_INSTALL_DIR="" # Optional — for version check fallback
# Method D: API-only (no Docker/SSH/native access)
# Leave all access vars empty.
# Only core HTTP, memory API, and latency tests will run (~36 tests).
# ══════════════════════════════════════════════════════════════════
# OPTIONAL — Memory Server
# ══════════════════════════════════════════════════════════════════
# Set this to enable memory CRUD, health, and working memory tests.
# OPENCLAW_MEMORY_SERVER_URL="http://localhost:8000"
# OPENCLAW_MEMORY_NAMESPACE="default"
# ══════════════════════════════════════════════════════════════════
# OPTIONAL — Channels
# ══════════════════════════════════════════════════════════════════
# Set to "true" to test Slack/Discord connectivity in gateway logs.
# OPENCLAW_SLACK_ENABLED=true
# OPENCLAW_DISCORD_ENABLED=true
# ══════════════════════════════════════════════════════════════════
# OPTIONAL — Expected Values
# ══════════════════════════════════════════════════════════════════
# Pin specific expectations for stricter validation.
# OPENCLAW_EXPECTED_VERSION="2026.2.20"
# OPENCLAW_PRIMARY_PROVIDER="anthropic"
# ══════════════════════════════════════════════════════════════════
# OPTIONAL — Custom Provider Endpoint Testing
# ══════════════════════════════════════════════════════════════════
# Test a custom model provider (direct Anthropic, AWS Bedrock, etc.)
# OPENCLAW_CUSTOM_PROVIDER_NAME="anthropic"
# OPENCLAW_CUSTOM_PROVIDER_URL="https://api.anthropic.com/v1/messages"
# OPENCLAW_CUSTOM_PROVIDER_KEY="your-api-key"
# OPENCLAW_CUSTOM_PROVIDER_MODELS="claude-sonnet-4-6,claude-haiku-4-5-20251001"
# ══════════════════════════════════════════════════════════════════
# OPTIONAL — Latency Thresholds (milliseconds)
# ══════════════════════════════════════════════════════════════════
# Adjust based on your deployment (local vs. remote, hardware, etc.)
# OPENCLAW_MAX_GATEWAY_HTTP_MS=2000
# OPENCLAW_MAX_MEMORY_SEARCH_MS=3000
# OPENCLAW_MAX_HEALTH_MS=1000
# OPENCLAW_MAX_SKILLS_MS=3000
# ══════════════════════════════════════════════════════════════════
# OPTIONAL — Context Optimization Thresholds
# ══════════════════════════════════════════════════════════════════
# Tune these for your workspace. Every .md file in the workspace root
# is injected into every agent turn — keeping them lean reduces cost
# and improves response quality.
# OPENCLAW_MAX_WORKSPACE_MD_FILES=10 # Max .md files in workspace root
# OPENCLAW_MAX_WORKSPACE_MD_BYTES=8000 # Max total .md bytes in workspace root
# OPENCLAW_MAX_BOOTSTRAP_TOKENS=2000 # Max estimated tokens from framework .md files
# Comma-separated list of .md files that are part of the framework
# (non-framework .md files will be flagged as stale)
# OPENCLAW_FRAMEWORK_MD_FILES="AGENTS.md,CLAUDE.md,SOUL.md,TOOLS.md,IDENTITY.md,USER.md,HEARTBEAT.md,MEMORY.md"