feat(gateway): silent tool progress messages on Telegram - #6646
Closed
byjk wants to merge 4 commits into
Closed
Conversation
byjk
force-pushed
the
feat/telegram-silent-tool-progress
branch
from
April 15, 2026 10:41
d5b37de to
05f4f79
Compare
- Telegram: send tool progress with disable_notification=True (no sound/vibration) - Telegram: add delete_message() via bot.delete_message() - Base: add delete_message() stub - Gateway: auto-delete progress messages after final response - Config: add display.delete_progress_messages option
…sages Silent mode was lost during merge. This patch restores: - telegram.py: read metadata["silent"] → disable_notification in send_message - run.py: set silent=True in _progress_metadata for all progress messages
Adds no_preview metadata flag to suppress web page previews in progress messages, keeping them compact and distraction-free.
byjk
force-pushed
the
feat/telegram-silent-tool-progress
branch
from
April 15, 2026 10:57
05f4f79 to
e6f2b0b
Compare
19 tasks
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
Tool progress messages (e.g. ⚙️
terminal: "whoami") are now sent with:disable_notification=True— no sound/vibration alerts on every tool calldisable_web_page_preview=True— link previews suppressed to keep messages compactThis significantly reduces notification spam and visual clutter when the agent runs multiple tools in sequence.
Changes
gateway/platforms/telegram.py: Readmetadata["silent"]andmetadata["no_preview"], passdisable_notificationanddisable_web_page_previewto both Markdown and plaintextsend_message()callsgateway/run.py: Setsilent=Trueandno_preview=Truein progress metadataBehavior
Test Plan