-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
31 lines (27 loc) · 1.2 KB
/
.env.example
File metadata and controls
31 lines (27 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# ── LLM API (Required) ──
# Anthropic (default)
ANTHROPIC_BASE_URL=https://your-provider.com/api/anthropic
ANTHROPIC_AUTH_TOKEN=sk-xxxxx
# Or OpenAI / Gemini — set API_FORMAT accordingly
# OPENAI_API_KEY=sk-xxxxx
# GEMINI_API_KEY=xxxxx
API_FORMAT=anthropic # "anthropic" | "openai" | "responses"
# ── Proxy (Optional) ──
# HTTPS_PROXY=socks5://127.0.0.1:1080
# ── Platform Adapters (only needed for the adapters you use) ──
FEISHU_APP_ID=cli_xxxxx
FEISHU_APP_SECRET=xxxxx
DISCORD_BOT_TOKEN=xxxxx
TELEGRAM_BOT_TOKEN=xxxxx
WECHAT_BOT_TOKEN=xxxxx # (optional — auto-saved after QR login)
# ── Voice STT (Speech-to-Text) — OpenAI-compatible (Optional) ──
VOICE_STT_BASE_URL=https://api.openai.com/v1
VOICE_STT_API_KEY=sk-xxxxx
VOICE_STT_MODEL=whisper-1
VOICE_STT_LANGUAGE= # 留空=自动检测, OpenAI: "zh"/"en", tengen: "zh-CN"/"en-US"
# ── Voice TTS (Text-to-Speech) — OpenAI-compatible (Optional) ──
VOICE_TTS_BASE_URL=https://api.openai.com/v1
VOICE_TTS_API_KEY=sk-xxxxx
VOICE_TTS_MODEL=tts-1
VOICE_TTS_VOICE=alloy # OpenAI: alloy/nova/echo, tengen: zh-CN-XiaoxiaoNeural
VOICE_TTS_REPLY=false # true = reply with text + audio; false = text only