-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
19 lines (17 loc) · 924 Bytes
/
.env.example
File metadata and controls
19 lines (17 loc) · 924 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
GEMINI_API_KEY=your_gemini_api_key
# WhatsApp Integration (OpenClaw pattern)
ENABLE_WHATSAPP=true
# WhatsApp Security - Only respond to these numbers (comma-separated)
# Format: phone numbers without + or spaces (e.g., 9779816766240)
# Leave empty or set to * to allow all numbers
WHATSAPP_ALLOWED_NUMBERS=your_phone_number
# WhatsApp Self-Chat Mode - Allow chatting with yourself (optional feature)
# Set to 'true' to enable, 'false' or omit to disable
# When enabled, you can send messages to your own number and the bot will reply
# The bot uses content tracking to avoid infinite loops
# WARNING: Disabled by default to prevent API quota exhaustion during testing
WHATSAPP_SELF_CHAT_ENABLED=true
# WhatsApp Test Mode - Use mock responses instead of calling Gemini API
# Set to 'true' to test loop prevention without using API quota
# Set to 'false' for normal operation with real AI responses
WHATSAPP_TEST_MODE=false