[Fix] Telegram first messages lose attachments in new Sessions - #2586
Merged
roomote-roomote[bot] merged 3 commits intoSep 12, 2026
Merged
Conversation
Contributor
Contributor
Author
|
Resolved the outstanding image-document MIME fallback issue in |
daniel-lxs
approved these changes
Sep 12, 2026
roomote-roomote
Bot
requested review from
brunobergher and
mrubens
as code owners
September 12, 2026 06:02
…-turn-attachments-1s5erk4r3m9e6
roomote-roomote
Bot
deleted the
fix/telegram-first-turn-attachments-1s5erk4r3m9e6
branch
September 12, 2026 06:12
daniel-lxs
approved these changes
Sep 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Why this change was made
Telegram appended extracted non-image content to the visible question but dropped the structured current-turn attachment payload at the shared Fast surface-reply boundary. That prevented the first Session turn from retaining the same attachment context used by Fast's explicit task attachment handoff.
Impact
The first Telegram message in a Fast Session now retains supported images and bounded non-image context through both immediate execution and queued retries. Task attachment forwarding remains explicit and default-off, while unsupported files, webhook idempotency, topic routing, and existing task-entry behavior are unchanged.