Redis ratelimits
This commit is contained in:
@@ -8,6 +8,11 @@ DATABASE_URL=postgres://user:password@localhost:5432/opencode_proxy
|
||||
# Send one in Authorization: Bearer <key> or x-api-key.
|
||||
# UNLIMITED_API_KEYS=["personal-unlimited-key"]
|
||||
|
||||
# Optional: persist shared rate limits across restarts and proxy instances.
|
||||
# REDIS_URL=redis://localhost:6379
|
||||
# Optional Redis key namespace, useful when sharing a Redis database.
|
||||
# REDIS_RATE_LIMIT_PREFIX=opencode-proxy:rate-limit
|
||||
|
||||
# Optional: override the built-in comma-separated model allowlist for ordinary clients.
|
||||
# Unlimited API keys bypass this restriction. Set this to an empty value to allow every upstream model.
|
||||
# ALLOWED_MODELS=kimi-k3,gpt-4.1
|
||||
|
||||
Reference in New Issue
Block a user