-
Notifications
You must be signed in to change notification settings - Fork 3.8k
feat(telegram): stream LLM responses via sendMessageDraft #1101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
alexhoshina
merged 23 commits into
sipeed:main
from
amirmamaghani:feat/telegram-streaming
Mar 20, 2026
Merged
Changes from 14 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
468723b
feat(telegram): stream LLM responses in real-time via sendMessageDraft
amirmamaghani 6ab2c82
fix(telegram): delete placeholder message when streaming delivers res…
amirmamaghani 9792df6
refactor(streaming): remove dead code and simplify streaming wiring
amirmamaghani 2d5f320
fix(streaming): skip streamer acquisition when SendResponse is false
amirmamaghani 55e2466
fix(streaming): guard streamer for non-sendable messages, add streami…
amirmamaghani 0f310f1
Merge branch 'main' into feat/telegram-streaming
amirmamaghani b6d7970
feat(telegram): stream LLM responses in real-time via sendMessageDraft
amirmamaghani 2945d50
fix(telegram): delete placeholder message when streaming delivers res…
amirmamaghani 7911142
refactor(streaming): remove dead code and simplify streaming wiring
amirmamaghani 6b90fe4
fix(streaming): skip streamer acquisition when SendResponse is false
amirmamaghani 1ab2072
fix(streaming): guard streamer for non-sendable messages, add streami…
amirmamaghani e4bf599
Merge branch 'feat/telegram-streaming' of github.com:amirmamaghani/pi…
amirmamaghani 9938028
fix(picoclaw): add missing closing brace for StreamingProvider interface
amirmamaghani 9f3caa3
fix: resolve golangci-lint formatting issues
amirmamaghani fa3c00a
fix: address code review feedback on streaming PR
amirmamaghani 0213494
feat: make streaming throttle interval and min growth configurable
amirmamaghani a4b2031
merge: incorporate upstream main into feat/telegram-streaming
amirmamaghani a514e52
merge: sync main into feat/telegram-streaming
amirmamaghani c85e977
Merge branch 'main' into feat/telegram-streaming
amirmamaghani 4669e5a
fix(telegram): use parseTelegramChatID in DeleteMessage and BeginStream
amirmamaghani 1ab4cab
merge: resolve conflicts with main branch and remove pico-echo-server…
amirmamaghani ac68b6d
merge: resolve conflict with main in channel manager
amirmamaghani aabe47a
fix(streaming): set streamActive only after successful Finalize
amirmamaghani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting
streamActiveto True too early may cause the message sending to not fall back to the regular path afterStreamer.Finalizefails.