ragleap-core v0.13.9
A safety fix for the opt-in Telegram long polling added in v0.13.8. Upgrading switches nothing new on, and there is no schema change.
Telegram
- Polling now answers only the owner's private chat by default (#1549). 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 v0.13.8 would have let anyone who finds the bot's username ask questions about your documents and use your model budget. With v0.13.9, polling ignores every message that is not from the owner's 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. If you really want a public bot, setTELEGRAM_POLLING_PUBLIC=true. The webhook path is unchanged. Seedocs/telegram-polling.md. - If you turned polling on with v0.13.8, update to v0.13.9 before relying on it, or turn it off until then. We had not switched it on in our own production.
Upgrade notes
- 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.
- Not tested yet: a real Telegram bot with polling on a production server (planned right after this release).