Skip processing of meta tokens in Telegram bot response handling
This commit is contained in:
@@ -102,6 +102,9 @@ async def handle_message(update: Update, context: ContextTypes.DEFAULT_TYPE) ->
|
|||||||
await reply_msg.edit_text(accumulated)
|
await reply_msg.edit_text(accumulated)
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if isinstance(token, dict) and "__meta" in token:
|
||||||
|
continue # 진행 메시지는 Telegram에 표시하지 않음
|
||||||
|
|
||||||
accumulated += token
|
accumulated += token
|
||||||
|
|
||||||
now = time.monotonic()
|
now = time.monotonic()
|
||||||
|
|||||||
Reference in New Issue
Block a user