-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy path.env.example
More file actions
21 lines (17 loc) · 912 Bytes
/
Copy path.env.example
File metadata and controls
21 lines (17 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Port for the proxy server (optional, defaults to 8080)
PORT=8080
# Load-balancing strategy: least-requests | round-robin | session | weighted | weighted-round-robin
# - least-requests: Route to account with fewest requests (default)
# - round-robin: Distribute requests evenly across all accounts
# - session: Maintain 5-hour sessions per account
# - weighted: Route based on tier-adjusted request count (respects 1x, 5x, 20x tiers)
# - weighted-round-robin: Round-robin that gives more slots to higher tier accounts
LB_STRATEGY=least-requests
# Log level: DEBUG | INFO | WARN | ERROR (optional, defaults to INFO)
LOG_LEVEL=INFO
# Log format: pretty | json (optional, defaults to pretty)
# - pretty: Human-readable format with timestamps
# - json: Structured JSON logs for log aggregators
LOG_FORMAT=pretty
# Example of how to use the proxy with your application:
# ANTHROPIC_BASE_URL=http://localhost:8080