Skip to content

feat(telegram): show tool-call notifications in agent channel - #95

Open
fepfitra wants to merge 2 commits into
anvie:mainfrom
fepfitra:feat/telegram-tool-notify-pr
Open

feat(telegram): show tool-call notifications in agent channel#95
fepfitra wants to merge 2 commits into
anvie:mainfrom
fepfitra:feat/telegram-tool-notify-pr

Conversation

@fepfitra

@fepfitra fepfitra commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Shows a compact tool-call notification in the Telegram channel when an agent executes a tool. Subscribes to the existing tool_executed event_stream event (already used by the dashboard SSE), debounced 2s per user to avoid spam during long tool loops.

  • Posts 🛠 Tool: <name> (⚠️ on error)
  • Mirrors the existing llm_thinking / approval listener pattern
  • Cleans up listener on channel stop
    Screenshot_2026-08-03-06-24-45-167_org.telegram.messenger.jpg

… burst

Replace per-call debounce (2s) with a 5s coalescing window: a 100-tool loop
now collapses to one line like '🛠 Tool: bash (2x), python (1x)' instead of
one message per tool call. Errors still surface with ⚠️ prefix.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant