返回 CodeWhale
.env.example
1 TELEGRAM_BOT_TOKEN=replace-with-botfather-token
2
3 CODEWHALE_RUNTIME_URL=http://127.0.0.1:7878
4 CODEWHALE_RUNTIME_TOKEN=replace-with-long-random-token
5 CODEWHALE_WORKSPACE=/opt/whalebro
6 CODEWHALE_MODEL=auto
7 CODEWHALE_MODE=agent
8 CODEWHALE_ALLOW_SHELL=true
9 CODEWHALE_TRUST_MODE=false
10 CODEWHALE_AUTO_APPROVE=false
11
12 # Comma-separated Telegram chat IDs, user IDs, or usernames allowed to control
13 # the runtime. Leave empty only during first pairing, with
14 # TELEGRAM_ALLOW_UNLISTED=true.
15 TELEGRAM_CHAT_ALLOWLIST=
16 TELEGRAM_ALLOW_UNLISTED=false
17
18 TELEGRAM_THREAD_MAP_PATH=/var/lib/codewhale-telegram-bridge/thread-map.json
19 TELEGRAM_ALLOW_GROUPS=false
20 TELEGRAM_REQUIRE_PREFIX_IN_GROUP=true
21 TELEGRAM_GROUP_PREFIX=/cw
22 TELEGRAM_MAX_REPLY_CHARS=3500
23 TELEGRAM_POLL_TIMEOUT_SECONDS=50
24 CODEWHALE_TURN_TIMEOUT_MS=900000
25
25 lines Plain Text