[Bug]: [ERROR] [Bot] Dropped the assistant response for session
What is broken?
Привет! Постоянно вылезает эта ошибка: [ERROR] [Bot] Dropped the assistant response for session. После чего обмен сообщениями прекращается. Приходится каждый раз перезапускать приложение. Можно ли что-то сделать в этом случае?
Steps to reproduce
- Запустить приложение
- Появление бага через примерно 5-20 минут.
OS
Ошибка проявляется на Windows-версии приложения (Windows 11).
Additional context (optional)
No response
Could you provide some logs?
[2026-09-16T20:19:51.467Z] [ERROR] Failed to send message to Telegram: HttpError: Network request for 'sendRichMessage' failed! at toHttpError (%USER_FOLDER%\node_modules\grammy\out\core\error.js:82:12) at ApiClient.call (%USER_FOLDER%\node_modules\grammy\out\core\client.js:58:50) at process.processTicksAndRejections (node:internal/process/task_queues:104:5) at async withTelegramRateLimitRetry.maxRetries (%USER_FOLDER%/node_modules/@grinev/opencode-telegram-bot/dist/bot/index.js:110:34) at async withTelegramRateLimitRetry (%USER_FOLDER%/node_modules/@grinev/opencode-telegram-bot/dist/utils/telegram-rate-limit-retry.js:118:20) at async file:///%USER_FOLDER%/node_modules/@grinev/opencode-telegram-bot/dist/bot/index.js:109:20 at async ApiClient.callApi (%USER_FOLDER%\node_modules\grammy\out\core\client.js:97:22) at async sendRenderedBotPart (%USER_FOLDER%/node_modules/@grinev/opencode-telegram-bot/dist/bot/messages/telegram-text.js:66:29) at async sendRenderedPart (%USER_FOLDER%/node_modules/@grinev/opencode-telegram-bot/dist/bot/services/event-subscription-service.js:472:29) at async finalizeAssistantResponse (%USER_FOLDER%/node_modules/@grinev/opencode-telegram-bot/dist/bot/streaming/finalize-assistant-response.js:31:9) [2026-09-16T20:19:51.468Z] [ERROR] [Bot] Dropped the assistant response for session ses_*** ... [2026-09-16T20:34:27.496Z] [INFO] Starting OpenCode Telegram Bot v0.25.2... [2026-09-16T20:34:27.497Z] [INFO] Node.js v24.16.0 on win32 x64
@pro777s I've made a fix: https://github.com/grinev/opencode-telegram-bot/releases/tag/v0.25.3 can you please verify that now works correctly. The main reason of this problem is network issues with vpn/proxy, but bot shouldn't became silent after errors, now it should continue working when telegram api became available
Спасибо! Похоже, ошибка исправлена. Бот работает без затыка на протяжении полутора часов.