forked from Metaculus/metac-bot-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.template
More file actions
22 lines (20 loc) · 822 Bytes
/
.env.template
File metadata and controls
22 lines (20 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Required
METACULUS_TOKEN=1234567890
# Optional
OPENROUTER_API_KEY=1234567890
# Special OpenRouter key for Anthropic and OpenAI models (Metaculus-provided credits)
OAI_ANTH_OPENROUTER_KEY=1234567890
ASKNEWS_CLIENT_ID=1234567890
ASKNEWS_SECRET=1234567890
# AskNews recommended safe defaults for development/local runs
# Concurrency=1 ensures only one in-flight call at a time across all models
# Max RPS=0.2 enforces ~5s between calls to avoid minute-level rate bursts
# Tries/backoff handle transient 429s gracefully without spiking traffic
ASKNEWS_MAX_CONCURRENCY=1
ASKNEWS_MAX_RPS=0.2
ASKNEWS_MAX_TRIES=3
ASKNEWS_BACKOFF_SECS=2.0
ANTHROPIC_API_KEY=1234567890
# Financial data provider (yfinance + FRED) for economic/market questions
# FINANCIAL_DATA_ENABLED=true
# FRED_API_KEY=your_free_key_from_fred.stlouisfed.org