You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Telegram streaming leaks partial NO_REPLY as visible message #33544
When using streaming: partial (the new default in 2026.3.2), responding with NO_REPLY after a reaction-only action causes the first token "NO" to be streamed to the Telegram chat as a visible message before the system recognizes and swallows the full NO_REPLY directive. The message is briefly pinned and then removed after ~10 seconds.
Steps to Reproduce
Set channels.telegram.streaming: partial (or leave as default in 2026.3.2)
Have the agent call message(action=react) to react to a user message
Agent responds with NO_REPLY as its reply
Observe: "NO" appears as a visible message in the Telegram DM, briefly pinned
Expected Behavior
NO_REPLY should be recognized and filtered before any tokens are streamed to Telegram. The user should see only the reaction, no text message.
Workaround
Instead of NO_REPLY, send a minimal actual text reply (e.g. a single emoji or brief acknowledgment) after reactions. This avoids the streaming leak entirely.
Activity
Dingding-leo commentedon Mar 3, 2026
This is a race condition in the streaming path. The
NO_REPLYdirective is being processed too late - after some tokens have already been sent.Root cause:
The fix:
In the Telegram send path, check if the response is
NO_REPLYbefore starting to stream:// Don't stream2. Or buffer and check:
Buffer the initial tokens, check if it's
NO_REPLY, then either send or discard.Even if streaming starts, check each chunk for
NO_REPLYand abort mid-stream.Debugging:
NO_REPLYis detectedWorkaround noted in issue is correct:
Use a minimal actual text reply (emoji) instead of
NO_REPLYafter reactions.This is a regression in 2026.3.2 where the new default
streaming: partialintroduced this race condition.Sid-Qin commentedon Mar 4, 2026
obviyus commentedon Mar 4, 2026
Thanks for the detailed report.
Confirmed root cause is slightly different from a Telegram-only send-path race:
v2026.3.2, shared silent-prefix filtering (isSilentReplyPrefixText) only treated uppercase fragments with_as suppressible.NOfrom streamedNO_REPLYpass before later chunks (NO_,NO_RE,NO_REPLY) were swallowed.channels.telegram.streamingdefault changed topartialin 2026.3.2.Fix is already in shared auto-reply streaming path (not Telegram-only), so all channels benefit:
NOforNO_REPLYfragments.NO -> NO_ -> NO_RE -> NO_REPLY.This is fixed on
mainand included in the 2026.3.3 line (Telegram/draft preview boundary + silent-token reliability, #33169).PR #33663 was closed as redundant.