Add MOCK_AI mode to test the AI draft button with no API key

This commit is contained in:
2026-08-21 11:40:28 -07:00
parent efa07927f2
commit 2c3dc66878
2 changed files with 37 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
## Copy this file to .env and fill in real values. Do not commit .env.
# Required for the AI draft button.
# 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