fix(telegram): split streaming preview per assistant block#22613
Merged
fix(telegram): split streaming preview per assistant block#22613
Conversation
16001ab to
8da54b8
Compare
9410995 to
8c7821e
Compare
8c7821e to
26f35f4
Compare
Contributor
Author
mmyyfirstb
pushed a commit
to mmyyfirstb/openclaw
that referenced
this pull request
Feb 21, 2026
…22613) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 26f35f4 Co-authored-by: obviyus <[email protected]> Co-authored-by: obviyus <[email protected]> Reviewed-by: @obviyus
obviyus
added a commit
to guirguispierre/openclaw
that referenced
this pull request
Feb 22, 2026
…22613) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 26f35f4 Co-authored-by: obviyus <[email protected]> Co-authored-by: obviyus <[email protected]> Reviewed-by: @obviyus
6 tasks
18 tasks
mreedr
pushed a commit
to mreedr/openclaw-custom
that referenced
this pull request
Feb 24, 2026
…22613) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 26f35f4 Co-authored-by: obviyus <[email protected]> Co-authored-by: obviyus <[email protected]> Reviewed-by: @obviyus
zooqueen
pushed a commit
to hanzoai/bot
that referenced
this pull request
Mar 6, 2026
…22613) Merged via /review-pr -> /prepare-pr -> /merge-pr. Prepared head SHA: 26f35f4 Co-authored-by: obviyus <[email protected]> Co-authored-by: obviyus <[email protected]> Reviewed-by: @obviyus
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.
Summary
Root Cause
onAssistantMessageStartreset lane text state but did not reset the underlying draft stream message id. Subsequent assistant blocks kept editing the same Telegram preview message.Testing
Greptile Summary
Fixes Telegram draft streaming to create fresh preview messages when new assistant blocks start after prior output. Previously,
onAssistantMessageStartreset lane text state but not the draft stream message ID, causing subsequent blocks to edit the same Telegram message instead of rotating to new ones.Key changes:
forceNewMessage()call whenhasStreamedMessageis true before resetting lane stateforceNewMessagecalls for multi-block scenariosDockerfile note: The Dockerfile changes shown in the diff are already present in the base branch (commit 985ffac) and appear to be a rebase artifact from catching up with main.
Confidence Score: 5/5
forceNewMessage()with thehasStreamedMessageflag to preserve first-message behavior. Tests comprehensively cover the new behavior including edge cases (first message, multi-block, both stream modes). The Dockerfile changes are already in the base branch, making them a non-issue.Last reviewed commit: 8da54b8