Checked against the ragleap-core v0.13.9 release notes on 2026-11-25. Upgrading switches nothing new on, and there is no schema change.
What does v0.13.9 fix?
The Telegram bot is a document question-and-answer bot: with a webhook it answers any sender from the documents you ingested. Long polling (TELEGRAM_POLLING=true, new in v0.13.8) makes a bot that received nothing start receiving. So with v0.13.8, anyone who found the bot username could ask questions about your documents and use your model budget (#1549).
Do I need to update if I turned polling on with v0.13.8?
Yes. Update to v0.13.9 before relying on it, or turn polling off until then. The release notes say it was not switched on in the project own production.
What does polling do now?
By default it ignores every message that is not from the owner private chat, the chat set as the approval target on Telegram: no reply, no model call, no document lookup, and the log line has no text or chat id. A check that cannot be made also ignores the message. For a public bot, set TELEGRAM_POLLING_PUBLIC=true. The webhook path is unchanged. See docs/telegram-polling.md.
What should I know before upgrading?
There is no schema change and nothing you must set. File writing, deleting, sub-agents and Telegram polling stay off by default. With polling on, set the approval target first (Telegram, a private chat); without one, every message is ignored.
What is not covered?
A real Telegram bot with polling on a production server has not been tested yet. The release notes plan it right after the release.
Quick answers
What does ragleap-core v0.13.9 change for Telegram long polling?
With polling on, RagLeap now ignores every message that is not from the owner private chat, the chat set as the approval target on Telegram. There is no reply, no model call and no document lookup, and a check that cannot be made also ignores the message. The webhook path is unchanged.
Do I need to update if I turned on TELEGRAM_POLLING with v0.13.8?
Yes. Update to v0.13.9 before relying on it, or turn polling off until then. With v0.13.8, anyone who found the bot username could ask questions about your ingested documents and use your model budget.
How do I run a public Telegram bot in RagLeap?
Set TELEGRAM_POLLING_PUBLIC=true. With polling on, set the Telegram approval target (a private chat) first: without one, every message is ignored.