From a0de6386bcbf8408323571baa2b647a748e262b4 Mon Sep 17 00:00:00 2001 From: sal Date: Sun, 31 May 2026 23:06:31 +0900 Subject: [PATCH] Skip processing of meta tokens in Telegram bot response handling --- bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bot.py b/bot.py index c608fb8..e515a08 100644 --- a/bot.py +++ b/bot.py @@ -102,6 +102,9 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE) -> await reply_msg.edit_text(accumulated) break + if isinstance(token, dict) and "__meta" in token: + continue # 진행 메시지는 Telegram에 표시하지 않음 + accumulated += token now = time.monotonic()