-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
24 lines (21 loc) · 1.07 KB
/
Copy path.env.example
File metadata and controls
24 lines (21 loc) · 1.07 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
# OpenAI-compatible API key - required for AI agent functionality
# For OpenRouter: get one at https://openrouter.ai/keys
# For a self-hosted vLLM/runpod endpoint: use whatever key the server expects
VITE_OPENROUTER_API_KEY=sk-your-key-here
# OpenAI-compatible base URL. Defaults to OpenRouter if unset.
# Examples:
# https://openrouter.ai/api/v1 (OpenRouter)
# https://ny3wume6l9pycr-8000.proxy.runpod.net/v1 (local RunPod vLLM)
# http://localhost:8000/v1 (local Ollama/vLLM)
VITE_OPENAI_BASE_URL=https://openrouter.ai/api/v1
# Model IDs for each role. Must match a model the base URL serves.
# See https://openrouter.ai/models or your server's /v1/models endpoint.
VITE_GUARD_MODEL=openrouter/free
VITE_PRISONER_MODEL=openrouter/free
# Rate limits (queries per second). 0 disables the corresponding limit.
# - VITE_PRISONER_QPS / VITE_GUARD_QPS: per-agent caps applied independently
# to each agent of that role.
# - VITE_GLOBAL_QPS: cluster-wide upper bound across all agents combined.
VITE_PRISONER_QPS=0.5
VITE_GUARD_QPS=0.5
VITE_GLOBAL_QPS=0