-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
20 lines (16 loc) · 821 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (16 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copy to .env and fill in. .env is gitignored.
# Weights & Biases
WANDB_ENTITY=your-wandb-username-or-team
WANDB_MODE=online # or "offline" for no-network runs
# Anthropic (explanation generation)
ANTHROPIC_API_KEY=sk-ant-...
# App
APEX_BACKEND_URL=http://localhost:8000
# API service (Phase 9). All optional — sensible defaults if unset.
APEX_API_KEYS= # comma-separated; empty => auth disabled (open, dev only)
APEX_API_KEY_HEADER=X-API-Key
APEX_RATE_LIMIT=60 # requests per window, per client (API key or IP)
APEX_RATE_WINDOW_S=60
APEX_DEVICE=cpu # cpu | mps | cuda — detector device for the service
APEX_BACKEND=template # explanation backend: template | claude | local
APEX_WARMUP=1 # 1 => load the model at startup so the first request is warm