Skip to content

[Bug]: WebChat shows [[reply_to_current]] tag after message completes (not during streaming) #23053

@guzzoai

Description

@guzzoai

Summary

Environment

OpenClaw: 2026.2.21-2
Surface: Control UI / WebChat (direct chat)
OS: Linux host (Gateway local), browser client on web UI
Steps to reproduce

Open Control UI chat.
Send any normal message to the agent.
Watch assistant response stream in real time.
Observed behavior

During streaming, the response text looks correct (no visible tag).
As soon as the message finishes and is committed, [[reply_to_current]] appears at the start of the rendered message.
This happens consistently across normal replies.
Expected behavior

Reply tags ([[reply_to_current]], [[reply_to:]]) should be stripped from user-visible rendered text and only used internally for reply threading.
Extra notes

Tried toggling delivery (/deliver off) — no change.
Looks like post-render/finalization path is not applying the same tag stripping as streaming path.

Steps to reproduce

Chat in webui

Expected behavior

Chatbot reply without [[reply_to_current]] in front of every message.

Actual behavior

[[reply_to_current]] in front of every reply message

OpenClaw version

2026.2.21-2

Operating system

Ubuntu 24.04.4 LTS

Install method

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions