-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
39 lines (32 loc) · 1.93 KB
/
.env.example
File metadata and controls
39 lines (32 loc) · 1.93 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
# ── LLM provider ───────────────────────────────────────────────────
# "claude" (default) or "gemini". Switching providers does NOT rewrite
# the model IDs below — set them to values appropriate for the chosen
# provider (see examples after each block).
LLM_PROVIDER=claude
# Claude (required when LLM_PROVIDER=claude)
ANTHROPIC_API_KEY=sk-ant-...
# Gemini (required when LLM_PROVIDER=gemini)
# GOOGLE_API_KEY=...
# ── Models ─────────────────────────────────────────────────────────
# Claude defaults:
STRATEGIST_MODEL=claude-opus-4-6
PLAYER_MODEL=claude-sonnet-4-6
BUILDER_MODEL=claude-sonnet-4-6
# Gemini examples (uncomment + swap if LLM_PROVIDER=gemini):
# STRATEGIST_MODEL=gemini-2.5-flash
# PLAYER_MODEL=gemini-2.5-flash
# BUILDER_MODEL=gemini-2.5-flash
# ── Database ───────────────────────────────────────────────────────
DATABASE_URL=sqlite:///./darwin.db
# ── Tournament defaults ────────────────────────────────────────────
TIME_PER_MOVE_MS=20000
GAMES_PER_PAIRING=2
# Max games run concurrently in the local tournament backend. Default 16
# is enough to run a typical 3-engine cohort (12 games) fully in parallel.
# Lower this if your LLM provider rate-limits aggressively (Anthropic and
# Google's free tiers will both throttle near 16 concurrent calls).
MAX_PARALLEL_GAMES=16
MAX_MOVES_PER_GAME=120
# ── API ────────────────────────────────────────────────────────────
API_HOST=127.0.0.1
API_PORT=8000