-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
20 lines (16 loc) · 966 Bytes
/
Copy path.env.example
File metadata and controls
20 lines (16 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copy to ``.env`` (do not commit) and set your own credentials.
# The CLI loads ``TwinRouterBench/.env`` before parsing (see
# ``miniswerouter.cli._load_mini_dotenv``). Existing non-empty environment
# variables win over values from this file.
# OpenAI-compatible gateway (OpenRouter by default; vLLM / other gateways work
# if they expose ``/v1/chat/completions`` and usage fields LiteLLM understands).
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_API_KEY=sk-or-v1-REPLACE-ME
# Optional aliases used by ``miniswerouterbench run`` defaults and the example shell:
# SWEROUTER_BASE_URL=https://openrouter.ai/api/v1
# SWEROUTER_API_KEY=sk-or-v1-REPLACE-ME
# Optional alternate key name (see ``miniswerouter.cli._apply_gateway_aliases``):
# OPENROUTER_API_KEY_EXP=sk-or-v1-REPLACE-ME
# Optional gateway override block (overrides OPENROUTER_* / SWEROUTER_* when set):
# COMMONSTACK_API_BASE=https://api.example.com/v1
# COMMONSTACK_API_KEY=replace-me