openclaw - 💡(How to fix) Fix Telegram: partial streaming leaks tool call names into chat [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#71663Fetched 2026-04-26 05:10:05
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Author
Participants

When channels.telegram.streaming.mode is set to "partial", tool call names and content leak into Telegram as live message edits before filtering can strip them. Users see raw tool call identifiers flash in the chat during agent execution.

Root Cause

When channels.telegram.streaming.mode is set to "partial", tool call names and content leak into Telegram as live message edits before filtering can strip them. Users see raw tool call identifiers flash in the chat during agent execution.

Fix Action

Fix / Workaround

Current Workaround

RAW_BUFFERClick to expand / collapse

Description

When channels.telegram.streaming.mode is set to "partial", tool call names and content leak into Telegram as live message edits before filtering can strip them. Users see raw tool call identifiers flash in the chat during agent execution.

Reproduction

  1. Set channels.telegram.streaming.mode: "partial" in openclaw.json
  2. Send a message that triggers tool calls (e.g. a question requiring web_search or exec)
  3. Observe Telegram chat — tool call names/content appear as partial message edits before the final reply

Expected Behavior

Partial streaming edits on Telegram should only contain assistant text content, never tool call metadata.

Current Workaround

Set channels.telegram.streaming.mode: "off" (or "block") to disable live edits entirely. This works but removes the typing-progress UX.

Environment

  • OpenClaw version: 2026.4.23
  • Channel: Telegram (direct chat)
  • Regression introduced in: 2026.4.22
  • Note: Slack had a similar issue (#70912) fixed in 4.22 for MPIM group DMs, but the Telegram partial streaming path was not addressed.

Related

  • #70912 (Slack tool/plan progress leak — fixed in 4.22)
  • #70921 (Block streaming duplicate reply suppression — fixed in 4.23)

extent analysis

TL;DR

Disable partial streaming mode by setting channels.telegram.streaming.mode to "off" or "block" to prevent tool call names and content from leaking into Telegram as live message edits.

Guidance

  • Investigate the differences in handling between Slack and Telegram channels, as a similar issue was fixed for Slack in version 4.22.
  • Review the code changes made in version 4.22 for Slack to see if a similar fix can be applied to the Telegram channel.
  • Consider implementing a filter to strip tool call metadata from partial streaming edits before they are sent to Telegram.
  • Test the current workaround (channels.telegram.streaming.mode: "off" or "block") to confirm it resolves the issue, albeit with the loss of typing-progress UX.

Example

No code example is provided due to the lack of specific implementation details in the issue.

Notes

The fix for the similar issue in Slack (version 4.22) may not directly apply to Telegram due to differences in channel handling. The provided workaround disables partial streaming, which may not be desirable due to the loss of typing-progress UX.

Recommendation

Apply the workaround by setting channels.telegram.streaming.mode to "off" or "block", as it is the only known solution at this time, despite removing the typing-progress UX.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Telegram: partial streaming leaks tool call names into chat [1 participants]