- provider-agnostic llm-client (grok + openrouter) with page-slug context - live golden run scored and passing via x-ai/grok-4.6 - ADR 0010; spike docs flipped to done
22 lines
500 B
Bash
22 lines
500 B
Bash
# Copy to .env. Never commit real values.
|
|
|
|
# API
|
|
PORT=3000
|
|
DATABASE_URL=postgres://wursor:wursor@localhost:5432/wursor
|
|
REDIS_URL=redis://localhost:6379
|
|
|
|
# Auth
|
|
SESSION_SECRET=replace-me
|
|
|
|
# LLM — Grok is the default adapter. Switch provider with LLM_PROVIDER (grok | openrouter).
|
|
LLM_PROVIDER=grok
|
|
XAI_API_KEY=
|
|
OPENROUTER_API_KEY=
|
|
# Model sent when LLM_PROVIDER=openrouter (default x-ai/grok-4.6).
|
|
OPENROUTER_MODEL=x-ai/grok-4.6
|
|
LLM_FALLBACK_PROVIDER=
|
|
|
|
# Sandbox
|
|
DOCKER_HOST=
|
|
WARM_POOL_HOT_SPARES=2
|