Bug type
Regression (worked before, now fails)
Summary
A single assistant reply is shown twice in OpenClaw webchat because chat.history returns both the real provider message and an internal delivery-mirror transcript entry, while Telegram only receives the message once.
Steps to reproduce
- Use OpenClaw webchat with a normal model/provider setup and a Telegram delivery channel enabled.
- Send a prompt that produces a normal assistant reply.
- Wait for the reply to be delivered.
- Observe that Telegram receives the reply only once.
- Refresh or inspect the webchat session history.
- Observe that the same assistant reply appears twice in webchat.
- Check the transcript/session history and see two assistant entries for the same logical reply:
- one from the real provider (for example openrouter / anthropic)
- one from provider=openclaw, model=delivery-mirror
Expected behavior
Only the real assistant reply should be shown in webchat. Internal transcript entries such as delivery-mirror should not be rendered as normal assistant messages.
Actual behavior
Webchat renders both the real assistant reply and the internal delivery-mirror transcript entry, so the same content is shown twice. Telegram only receives one message.
OpenClaw version
20260302
Operating system
ubuntu 24.04
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response
Bug type
Regression (worked before, now fails)
Summary
A single assistant reply is shown twice in OpenClaw webchat because chat.history returns both the real provider message and an internal delivery-mirror transcript entry, while Telegram only receives the message once.
Steps to reproduce
Expected behavior
Only the real assistant reply should be shown in webchat. Internal transcript entries such as delivery-mirror should not be rendered as normal assistant messages.
Actual behavior
Webchat renders both the real assistant reply and the internal delivery-mirror transcript entry, so the same content is shown twice. Telegram only receives one message.
OpenClaw version
20260302
Operating system
ubuntu 24.04
Install method
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response