Skip to content

message_tool mode: agent replies sent via message tool disappear from WebChat transcript after next turn #76740

@Joelincn

Description

@Joelincn

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

When visibleReplies is set to message_tool, agent replies are correctly delivered to Telegram/Discord via message(action=send), but those replies disappear from the WebChat/Control UI transcript after the next user message arrives. Confirmed on Telegram DM and Discord (all channels); WhatsApp and WeChat likely affected.

Steps to reproduce

opencode-go/qwen3.6-plus1. Set messages.visibleReplies: message_tool and messages.groupChat.visibleReplies: message_tool in config
2. Send a message via Telegram DM or Discord
3. Agent replies appear in chat surface — correct
4. Open WebChat/Control UI for same session — agent reply is visible
5. Send another message
6. Previous agent reply disappears from WebChat transcript — only user messages remain

Expected behavior

Agent replies sent via message tool should be mirrored back into the session transcript and remain persistently visible in WebChat/Control UI, just like in automatic mode.

Actual behavior

Agent replies delivered correctly to Telegram/Discord (visible in the chat app), but in WebChat/Control UI transcript they vanish after the next user turn. Only the users inbound messages remain; assistant turn content is gone from the UI.

OpenClaw version

2026.5.2

Operating system

Linux Ubuntu x64

Install method

No response

Model

qwen 3.6 plus

Provider / routing chain

npm global installopencode-go ds2api

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions