-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
41 lines (32 loc) · 1.98 KB
/
Copy path.env.example
File metadata and controls
41 lines (32 loc) · 1.98 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
# The Forge — Environment Configuration
# Copy this file to .env and fill in your values
# ── LLM API Keys ──────────────────────────────────────────────
# The Forge uses SMART ROUTING: if a direct vendor key is set,
# it calls the vendor API directly (cheaper, faster).
# If not, it falls back to OpenRouter as a universal relay.
# OpenRouter (universal fallback — covers ALL models)
# Get one at https://openrouter.ai/keys
OPENROUTER_API_KEY=
# Direct Vendor Keys (optional — bypasses OpenRouter for lower latency & cost)
ANTHROPIC_API_KEY=
OPENAI_API_KEY=
GOOGLE_AI_API_KEY=
DEEPSEEK_API_KEY=
# ── Budget & Limits ───────────────────────────────────────────
FORGE_BUDGET_USD=50.00
# ── Server ────────────────────────────────────────────────────
FORGE_PORT=8777
# ── Local SLM (Ollama) ───────────────────────────────────────
OLLAMA_HOST=http://localhost:11434
# Compute mode for local inference:
# auto — detect GPU, fallback to CPU (default)
# gpu — force all layers on GPU
# cpu — force CPU-only (works on any machine with ≥16GB RAM)
# split — split layers across GPU + CPU (for limited VRAM)
FORGE_COMPUTE=auto
# ── IDE Integration ──────────────────────────────────────────
# Comma-separated targets for the Export bridge.
# Supported: antigravity, vscode, cursor, windsurf, clipboard
FORGE_IDE_TARGETS=antigravity,vscode,clipboard
# ── Logging ──────────────────────────────────────────────────
LOG_LEVEL=INFO