-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.env.example
More file actions
64 lines (50 loc) · 2.26 KB
/
.env.example
File metadata and controls
64 lines (50 loc) · 2.26 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Telegram Skill Bot Environment Configuration
# Required: Get your bot token from @BotFather (https://t.me/BotFather)
# Format: 123456789:ABCdefGHIjklMNOpqrsTUVwxyz
TELEGRAM_BOT_TOKEN = your_bot_token_here
# Optional: Comma-separated list of allowed Telegram user IDs
# Leave empty to allow all users
# To get your user ID, send /start to @userinfobot
# ALLOWED_USER_IDS=123456789,987654321
# Logging and timeout
# LOG_LEVEL=INFO
# CLAUDE_PROCESS_TIMEOUT=600
# Streaming configuration
DRAFT_UPDATE_MIN_CHARS = 30
DRAFT_UPDATE_INTERVAL = 1.0
# Optional: absolute path to Claude CLI (auto-detected by default)
# CLAUDE_CLI_PATH=/absolute/path/to/claude
# Optional: path to Claude Code settings.json (defaults to ~/.claude/settings.json)
# CLAUDE_SETTINGS_PATH=/absolute/path/to/settings.json
# Optional: OpenAI API key for voice message transcription (Whisper)
# OPENAI_API_KEY=sk-...
# Optional: OpenAI-compatible Whisper endpoint (for non-official providers)
# OPENAI_BASE_URL=https://your-whisper-endpoint/v1
# Optional: voice transcription channel
# Supported values: whisper (default), volcengine
# TRANSCRIPTION_PROVIDER=whisper
#
# Optional: Volcengine bigmodel file ASR settings
# Required when TRANSCRIPTION_PROVIDER=volcengine
# VOLCENGINE_APP_ID=your_app_id
# VOLCENGINE_TOKEN=your_token
# VOLCENGINE_ACCESS_KEY=AKLTxxxxxxxx
# VOLCENGINE_SECRET_ACCESS_KEY=xxxxxxxxxxxxxxxx
# VOLCENGINE_TOS_BUCKET_NAME=your_bucket_name
# VOLCENGINE_TOS_ENDPOINT=https://tos-cn-shanghai.volces.com
# VOLCENGINE_TOS_REGION=cn-shanghai
# Create Secret Access Key in IAM key management:
# https://console.volcengine.com/iam/keymanage
# Optional: Whisper model for transcription
# WHISPER_MODEL=whisper-1
# Optional: Maximum accepted voice message duration in seconds
# MAX_VOICE_DURATION=300
# Optional: custom ffmpeg binary path (defaults to ffmpeg in PATH)
# FFMPEG_PATH=/usr/local/bin/ffmpeg
# Optional: macOS voice reply mode settings
# VOICE_REPLY_PERSONA=Tingting
# Common built-in macOS voices: Tingting, Mei-Jia, Sin-ji, Samantha, Alex, Daniel, Karen, Moira
# Chinese suggestion (if available on your system): Yue (Premium)
# Use `say -v ?` to list voices available on your machine.
# Network proxy (optional): start.sh will auto-configure http_proxy/https_proxy/all_proxy
# PROXY_URL=http://127.0.0.1:7890