Add power-user email allowlist to bypass demo turn cap
Trusted testers listed in AIDND_POWER_USERS get unmetered turns on the shared demo key: demo_turns_left reports the full cap and count_demo_turn skips them. Registered accounts only, matched case-insensitively. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TEpWMjnfPqzZ13nPMoGhs5
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
36413acd3e
commit
94db6e055b
@@ -59,6 +59,10 @@ AIDND_DEMO_ENDPOINT_URL=
|
||||
AIDND_DEMO_MODELS=
|
||||
# Successful AI turns per user per day on the demo key. Default: 20
|
||||
AIDND_DEMO_TURNS_PER_DAY=
|
||||
# Comma-separated emails of "power users" (trusted testers) who bypass the daily
|
||||
# demo cap entirely — unmetered turns on the shared demo key. Registered accounts
|
||||
# only (guests have no email). Matched case-insensitively.
|
||||
AIDND_POWER_USERS=
|
||||
|
||||
# The AI endpoint/API key/model are NOT env vars — they are configured at
|
||||
# runtime in the app's Settings page and stored (encrypted) in the database.
|
||||
|
||||
Reference in New Issue
Block a user