key routing persists across restarts

This commit is contained in:
2026-07-21 16:13:35 -05:00
parent d59673e0c5
commit 0755fb9d78
6 changed files with 49 additions and 7 deletions
+2
View File
@@ -12,6 +12,8 @@ DATABASE_URL=postgres://user:password@localhost:5432/opencode_proxy
# REDIS_URL=redis://localhost:6379
# Optional Redis key namespace, useful when sharing a Redis database.
# REDIS_RATE_LIMIT_PREFIX=opencode-proxy:rate-limit
# Optional Redis counter key for upstream API-key round-robin routing.
# REDIS_KEY_ROTATION_KEY=opencode-proxy:key-rotation
# 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.