Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 34 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ MIMO_TOKEN_PLAN_BASE_URL=https://token-plan-cn.xiaomimimo.com/v1
MIMO_TOKEN_PLAN_MODEL=mimo-v2.5-pro
MIMO_TOKEN_PLAN_ENABLED=false

# Default provider: deepseek | openai | anthropic | grok | ollamaCloud | ollamaLocal | openaiCompat | mimo | mimoTokenPlan
# OpenRouter (access 300+ models via single API key — openrouter.ai)
OPENROUTER_API_KEY=
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
OPENROUTER_MODEL=anthropic/claude-sonnet-4
OPENROUTER_ENABLED=true

# Default provider: deepseek | openai | anthropic | grok | ollamaCloud | ollamaLocal | openaiCompat | mimo | mimoTokenPlan | openrouter
DEFAULT_PROVIDER=deepseek

# ── Telegram ──
Expand Down Expand Up @@ -110,6 +116,33 @@ SLACK_TEAM_ID=
# Enable streaming responses (edit-in-place)
SLACK_STREAMING=true

# ── WhatsApp ──
# Chat with Mercury through a WhatsApp group (self-chat not supported by WhatsApp protocol)
# Scan QR code during setup to link as a companion device
# Create a WhatsApp group named "Mercury" (just yourself) — Mercury auto-detects it
WHATSAPP_ENABLED=false
WHATSAPP_PHONE_NUMBER=
WHATSAPP_MODE=group
WHATSAPP_GROUP_NAME=Mercury

# ── iMessages ──
# Uses Photon HQ's Spectrum SDK (cloud mode) — works on any OS, no Mac required
# 1. Sign up at https://app.photon.codes (free tier: unlimited messages, up to 10 users)
# 2. Create a project → add the iMessage provider → enable Cloud Mode
# 3. Copy Project ID and Project Secret from Settings → API Credentials
# Docs: https://docs.photon.codes/spectrum-ts/providers/imessage
IMESSAGES_ENABLED=false
IMESSAGES_PROJECT_ID=
IMESSAGES_PROJECT_SECRET=
# Comma-separated addresses: phone numbers with country code (e.g., +1234567890) or Apple ID emails
IMESSAGES_ALLOWED_USERS=
# Allow anyone to message Mercury via iMessage (default: false — only allowedUsers can interact)
IMESSAGES_ALLOW_ALL_USERS=false
# Render markdown in iMessage bubbles (default: true)
IMESSAGES_MARKDOWN=true
# Enable reaction support (default: false — opt-in)
IMESSAGES_REACTIONS=false

# ── Memory ──
MEMORY_DIR=./memory

Expand Down
Loading