-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
30 lines (25 loc) · 930 Bytes
/
.env.example
File metadata and controls
30 lines (25 loc) · 930 Bytes
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
HOST=127.0.0.1
PORT=8787
# OpenClaw -> bridge auth (OpenAI-compatible Bearer key)
BRIDGE_API_KEY=change-me
# Local opencode headless server
OPENCODE_BASE_URL=http://127.0.0.1:4096
# Auth mode: basic (default), bearer, none
OPENCODE_AUTH_MODE=basic
OPENCODE_AUTH_USERNAME=opencode
OPENCODE_AUTH_PASSWORD=change-me
# Backward-compatible alias (optional)
# OPENCODE_SERVER_PASSWORD=change-me
# Optional working directory for opencode sessions
# OPENCODE_DIRECTORY=/home/user/your-project
# Default model for opencode (provider/model)
OPENCODE_PROVIDER_ID=opencode
OPENCODE_MODEL_ID=minimax-m2.5-free
# Optional agent/system prompt
# OPENCODE_AGENT=coder
# OPENCODE_SYSTEM=You are a coding assistant.
# Model name exposed to OpenClaw
OPENAI_MODEL_ID=opencode-local
# Optional JSON map from OpenAI model to opencode provider/model
# Example: {"opencode-local":{"providerID":"openai","modelID":"gpt-4.1-mini"}}
# MODEL_MAP_JSON={}