[Bug] Assistant final text reply not delivered to messaging channel after message tool dispatch
Summary
When a turn includes a message tool call that successfully delivers content to a messaging channel (e.g. Telegram), any subsequent assistant text reply appears only in the web transcript but is not delivered to the messaging channel. The user on Telegram only receives the tool-dispatched content, not the assistant's natural-language summary/commentary that follows.
Reproduction Steps
- Configure a Telegram channel (or any messaging channel).
- In a conversation, trigger an agent turn that:
- Uses the
message tool to send content (file, text, etc.) to the messaging channel.
- Then appends a final assistant text reply (e.g. a brief comment or summary).
- Observe the Telegram side: only the tool-dispatched content arrives. The final assistant text never reaches the messaging channel.
- Observe the web transcript: the final assistant text is present and visible.
Expected Behavior
After the message tool delivers the primary content, the assistant's subsequent text reply should also be delivered to the messaging channel, so the user sees both the dispatched content and the natural-language commentary in the same channel.
Actual Behavior
- The
message tool output is delivered to Telegram correctly.
- The assistant's final text reply (post-tool-call) appears in the web UI transcript but is not forwarded to Telegram.
- This results in the user on Telegram receiving a "headless" file/message with no accompanying context or commentary.
Key Evidence
Checked two real turns where message tool was used:
-
File delivery (music):
didSendViaMessagingTool: true
assistantTexts: ['小鸡出品,梁静茹《宁夏》,FLAC 无损直接发你了 🎵']
- Telegram received: the FLAC file only. The comment text never arrived.
-
Text delivery (V2EX hot topics):
didSendViaMessagingTool: true
assistantTexts: ['V2EX 热门已发到 Telegram ... 人间百态浓缩版 😂']
messagingToolSentTexts: only the ranked list body.
- Telegram received: the ranked list only. The closing comment never arrived.
In both cases, the assistant text was generated and recorded, but not dispatched to the messaging channel after the tool call completed.
Environment
- OpenClaw version: 2026.5.2
- Channel: Telegram
- Model: observed across multiple provider/models
Additional Context
This appears to be a delivery/suppress logic issue: after a successful message tool call within the same turn, the system may be treating the turn as "fully delivered" and skipping the remaining assistant text. Related but distinct from:
None of these match the exact symptom: message tool content delivered, but subsequent assistant text within the same turn silently dropped from messaging channel delivery.
[Bug] Assistant final text reply not delivered to messaging channel after message tool dispatch
Summary
When a turn includes a
messagetool call that successfully delivers content to a messaging channel (e.g. Telegram), any subsequent assistant text reply appears only in the web transcript but is not delivered to the messaging channel. The user on Telegram only receives the tool-dispatched content, not the assistant's natural-language summary/commentary that follows.Reproduction Steps
messagetool to send content (file, text, etc.) to the messaging channel.Expected Behavior
After the
messagetool delivers the primary content, the assistant's subsequent text reply should also be delivered to the messaging channel, so the user sees both the dispatched content and the natural-language commentary in the same channel.Actual Behavior
messagetool output is delivered to Telegram correctly.Key Evidence
Checked two real turns where
messagetool was used:File delivery (music):
didSendViaMessagingTool: trueassistantTexts: ['小鸡出品,梁静茹《宁夏》,FLAC 无损直接发你了 🎵']Text delivery (V2EX hot topics):
didSendViaMessagingTool: trueassistantTexts: ['V2EX 热门已发到 Telegram ... 人间百态浓缩版 😂']messagingToolSentTexts: only the ranked list body.In both cases, the assistant text was generated and recorded, but not dispatched to the messaging channel after the tool call completed.
Environment
Additional Context
This appears to be a delivery/suppress logic issue: after a successful
messagetool call within the same turn, the system may be treating the turn as "fully delivered" and skipping the remaining assistant text. Related but distinct from:None of these match the exact symptom:
messagetool content delivered, but subsequent assistant text within the same turn silently dropped from messaging channel delivery.