@@ -147,32 +147,30 @@ When installed via npm, the configuration wizard handles the initial setup. The
147147- ** Windows:** ` %APPDATA%\opencode-telegram-bot\.env `
148148- ** Linux:** ` ~/.config/opencode-telegram-bot/.env `
149149
150- | Variable | Description | Required | Default |
151- | ------------------------------- | ------------------------------------------------------------------------------------------------------------ | :------: | ------------------------ |
152- | ` TELEGRAM_BOT_TOKEN ` | Bot token from @BotFather | Yes | — |
153- | ` TELEGRAM_ALLOWED_USER_ID ` | Your numeric Telegram user ID | Yes | — |
154- | ` TELEGRAM_PROXY_URL ` | Proxy URL for Telegram API (SOCKS5/HTTP) | No | — |
155- | ` OPENCODE_API_URL ` | OpenCode server URL | No | ` http://localhost:4096 ` |
156- | ` OPENCODE_SERVER_USERNAME ` | Server auth username | No | ` opencode ` |
157- | ` OPENCODE_SERVER_PASSWORD ` | Server auth password | No | — |
158- | ` OPENCODE_MODEL_PROVIDER ` | Default model provider | Yes | ` opencode ` |
159- | ` OPENCODE_MODEL_ID ` | Default model ID | Yes | ` big-pickle ` |
160- | ` BOT_LOCALE ` | Bot UI language (supported locale code, e.g. ` en ` , ` de ` , ` es ` , ` fr ` , ` ru ` , ` zh ` ) | No | ` en ` |
161- | ` SESSIONS_LIST_LIMIT ` | Sessions per page in ` /sessions ` | No | ` 10 ` |
162- | ` PROJECTS_LIST_LIMIT ` | Projects per page in ` /projects ` | No | ` 10 ` |
163- | ` COMMANDS_LIST_LIMIT ` | Commands per page in ` /commands ` | No | ` 10 ` |
164- | ` TASK_LIMIT ` | Maximum number of scheduled tasks that can exist at once | No | ` 10 ` |
165- | ` SERVICE_MESSAGES_INTERVAL_SEC ` | Service messages interval (thinking + tool calls); keep ` >=2 ` to avoid Telegram rate limits, ` 0 ` = immediate | No | ` 5 ` |
166- | ` HIDE_THINKING_MESSAGES ` | Hide ` 💭 Thinking... ` service messages | No | ` false ` |
167- | ` HIDE_TOOL_CALL_MESSAGES ` | Hide tool-call service messages (` 💻 bash ... ` , ` 📖 read ... ` , etc.) | No | ` false ` |
168- | ` RESPONSE_STREAMING ` | Stream assistant replies while they are generated across one or more Telegram messages | No | ` true ` |
169- | ` MESSAGE_FORMAT_MODE ` | Assistant reply formatting mode: ` markdown ` (Telegram MarkdownV2) or ` raw ` | No | ` markdown ` |
170- | ` CODE_FILE_MAX_SIZE_KB ` | Max file size (KB) to send as document | No | ` 100 ` |
171- | ` STT_API_URL ` | Whisper-compatible API base URL (enables voice/audio transcription) | No | — |
172- | ` STT_API_KEY ` | API key for your STT provider | No | — |
173- | ` STT_MODEL ` | STT model name passed to ` /audio/transcriptions ` | No | ` whisper-large-v3-turbo ` |
174- | ` STT_LANGUAGE ` | Optional language hint (empty = provider auto-detect) | No | — |
175- | ` LOG_LEVEL ` | Log level (` debug ` , ` info ` , ` warn ` , ` error ` ) | No | ` info ` |
150+ | Variable | Description | Required | Default |
151+ | -------------------------- | -------------------------------------------------------------------------------- | :------: | ------------------------ |
152+ | ` TELEGRAM_BOT_TOKEN ` | Bot token from @BotFather | Yes | — |
153+ | ` TELEGRAM_ALLOWED_USER_ID ` | Your numeric Telegram user ID | Yes | — |
154+ | ` TELEGRAM_PROXY_URL ` | Proxy URL for Telegram API (SOCKS5/HTTP) | No | — |
155+ | ` OPENCODE_API_URL ` | OpenCode server URL | No | ` http://localhost:4096 ` |
156+ | ` OPENCODE_SERVER_USERNAME ` | Server auth username | No | ` opencode ` |
157+ | ` OPENCODE_SERVER_PASSWORD ` | Server auth password | No | — |
158+ | ` OPENCODE_MODEL_PROVIDER ` | Default model provider | Yes | ` opencode ` |
159+ | ` OPENCODE_MODEL_ID ` | Default model ID | Yes | ` big-pickle ` |
160+ | ` BOT_LOCALE ` | Bot UI language (supported locale code, e.g. ` en ` , ` de ` , ` es ` , ` fr ` , ` ru ` , ` zh ` ) | No | ` en ` |
161+ | ` SESSIONS_LIST_LIMIT ` | Sessions per page in ` /sessions ` | No | ` 10 ` |
162+ | ` PROJECTS_LIST_LIMIT ` | Projects per page in ` /projects ` | No | ` 10 ` |
163+ | ` COMMANDS_LIST_LIMIT ` | Commands per page in ` /commands ` | No | ` 10 ` |
164+ | ` TASK_LIMIT ` | Maximum number of scheduled tasks that can exist at once | No | ` 10 ` |
165+ | ` HIDE_THINKING_MESSAGES ` | Hide ` 💭 Thinking... ` service messages | No | ` false ` |
166+ | ` HIDE_TOOL_CALL_MESSAGES ` | Hide tool-call service messages (` 💻 bash ... ` , ` 📖 read ... ` , etc.) | No | ` false ` |
167+ | ` MESSAGE_FORMAT_MODE ` | Assistant reply formatting mode: ` markdown ` (Telegram MarkdownV2) or ` raw ` | No | ` markdown ` |
168+ | ` CODE_FILE_MAX_SIZE_KB ` | Max file size (KB) to send as document | No | ` 100 ` |
169+ | ` STT_API_URL ` | Whisper-compatible API base URL (enables voice/audio transcription) | No | — |
170+ | ` STT_API_KEY ` | API key for your STT provider | No | — |
171+ | ` STT_MODEL ` | STT model name passed to ` /audio/transcriptions ` | No | ` whisper-large-v3-turbo ` |
172+ | ` STT_LANGUAGE ` | Optional language hint (empty = provider auto-detect) | No | — |
173+ | ` LOG_LEVEL ` | Log level (` debug ` , ` info ` , ` warn ` , ` error ` ) | No | ` info ` |
176174
177175> ** Keep your ` .env ` file private.** It contains your bot token. Never commit it to version control.
178176
0 commit comments