Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
38 lines (38 loc) · 1.57 KB
/
Copy path.env.example
File metadata and controls
38 lines (38 loc) · 1.57 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
DATABASE_URL=postgresql://ragtime:ragtime@localhost:5432/ragtime
# Optional: run the packages/db budget-recovery integration suite under `pnpm test`.
# TEST_DATABASE_URL=postgresql://ragtime:ragtime@localhost:5432/ragtime
# Postgres TLS: verify | no-verify | disable. Unset is right for both local and
# Render; set it only to force verification against a private CA below.
# DATABASE_SSL_MODE=
# DATABASE_CA_CERT=
OPENROUTER_API_KEY=
RENDER_API_KEY=
# Local dev only: route workflow triggers to `render workflows dev` on :8120.
# Leave RENDER_USE_LOCAL_DEV unset in production so the SDK uses the Render API.
RENDER_USE_LOCAL_DEV=true
RENDER_LOCAL_DEV_URL=http://localhost:8120
APP_URL=http://localhost:5173
OPENROUTER_APP_TITLE=Answer Arena
MODEL_GATEWAY=openrouter
WORKFLOW_DISPATCHER=render
WORKFLOW_RUNTIME=render
# Required: the chat model that scores answers. Runs are rejected without it.
# Use any chat slug you can access, e.g. openai/gpt-4o-mini or openrouter/auto
JUDGE_MODEL=
MAX_RUN_BUDGET_USD=5
MAX_PROVIDER_CALL_USD=0.5
EMBED_BATCH_SIZE=64
# Max parallel subtasks per wave. Keep these low so parallel fan-out does not
# exhaust Postgres connections ("sorry, too many clients already").
DOC_INGEST_FANOUT_BATCH=8
EMBED_FANOUT_BATCH=6
TRIAL_FANOUT_BATCH=8
DB_POOL_MAX=3
MAX_TRIALS_PER_RUN=324
# Concurrency admission. A deployment is shared, so every active run holds
# Postgres connections, provider quota, and up to MAX_RUN_BUDGET_USD of spend.
# Set either to 0 to disable that limit.
MAX_ACTIVE_RUNS_PER_SESSION=1
MAX_ACTIVE_RUNS_TOTAL=5
CHAOS_FAILURE_RATE=0
WORKFLOW_SLUG=ragtime-workflows