Skip to content

[Bug] WebUI: internal metadata displayed in user message input area #59568

@njxiaohan

Description

@njxiaohan

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

WebUI displays internal metadata blocks (Conversation info, relevant-memories) in the user message input area instead of filtering them

Steps to reproduce

  1. Use OpenClaw WebUI in a browser
  2. Observe the message input area
  3. Internal system metadata blocks (Conversation info, relevant-memories) appear in the user's message input column

Expected behavior

Internal metadata should be filtered out and not displayed in the user's message input area. Only user-authored messages should be visible.

Actual behavior

WebUI displays raw internal metadata blocks including 'Conversation info (untrusted metadata)' and '' content directly in the user message input area. This makes the UI confusing and pollutes the conversation history.

OpenClaw version

2026.3.28

Operating system

macOS 25.4.0

Install method

npm global

Model

minimax/MiniMax-M2.7-highspeed

Provider / routing chain

openclaw -> minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

Impact: All WebUI users are affected. Severity: Annoying/blocks workflow. Frequency: Always. Consequence: The UI becomes confusing and unusable as internal metadata blocks clutter the message input area.

Additional information

Related GitHub Issues: #20221, #23273, #22156, #21109. This is a known bug where stripEnvelopeFromMessages() does not filter these metadata blocks from WebUI display.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    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