20 lines
721 B
Plaintext
20 lines
721 B
Plaintext
## Copy this file to .env and fill in real values. Do not commit .env.
|
|
|
|
# Set to true to test the AI draft button with no API key and no cost.
|
|
# Returns a canned draft instead of calling Anthropic. Leave unset or false
|
|
# for real drafts.
|
|
MOCK_AI=false
|
|
|
|
# Required for the AI draft button, unless MOCK_AI=true.
|
|
ANTHROPIC_API_KEY=your-anthropic-api-key-here
|
|
|
|
# Required for company deployment. Leave both blank for solo local use with
|
|
# no login prompt. Set both to require a login for anyone reaching this tool.
|
|
APP_USERNAME=
|
|
APP_PASSWORD=
|
|
|
|
# Optional. Caps AI draft calls per source IP, to limit cost from the shared
|
|
# ANTHROPIC_API_KEY. Defaults: 20 requests per 5 minutes.
|
|
RATE_LIMIT_MAX=20
|
|
RATE_LIMIT_WINDOW_MS=300000
|