openclaw - 💡(How to fix) Fix [Bug]: [Teams] Duplicate message rendering — same response appears twice in chat [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70178Fetched 2026-04-23 07:28:14
View on GitHub
Comments
1
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
commented ×1labeled ×1

When OpenClaw sends a large or long-form response in Teams, the message content appears twice — once in a white/light card, and again immediately below in a darker grey card. Both cards contain identical or overlapping content.

This appears to be triggered specifically when the response is large (e.g., structured markdown with multiple sections, headers, bullet lists, and tables). Shorter plain-text replies do not seem to trigger the duplication.

Root Cause

When OpenClaw sends a large or long-form response in Teams, the message content appears twice — once in a white/light card, and again immediately below in a darker grey card. Both cards contain identical or overlapping content.

This appears to be triggered specifically when the response is large (e.g., structured markdown with multiple sections, headers, bullet lists, and tables). Shorter plain-text replies do not seem to trigger the duplication.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

When OpenClaw sends a large or long-form response in Teams, the message content appears twice — once in a white/light card, and again immediately below in a darker grey card. Both cards contain identical or overlapping content.

This appears to be triggered specifically when the response is large (e.g., structured markdown with multiple sections, headers, bullet lists, and tables). Shorter plain-text replies do not seem to trigger the duplication.

Steps to reproduce

1.Ask OpenClaw a question that produces a large, structured response 2. Receive response in Teams DM 3. Observe: the full formatted response appears once in a white card, then the same content appears again in a grey/darker card immediately below

Expected behavior

Response should appear exactly once, regardless of length or formatting.

Actual behavior

Response is duplicated — same content rendered in two back-to-back message cards. Occurs consistently for large responses

OpenClaw version

2026.03.24

Operating system

Ubuntu 24.04

Install method

docker

Model

anthropic/claude/sonnet 4-6

Provider / routing chain

anthropic

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue can likely be resolved by modifying the message formatting or processing logic in OpenClaw to prevent duplication of large responses in Teams.

Guidance

  • Investigate the message processing pipeline in OpenClaw to identify where the duplication occurs, focusing on the handling of large, structured responses.
  • Verify if the issue is specific to the anthropic/claude/sonnet 4-6 model or if it affects other models as well, to determine if the problem is model-specific.
  • Check the Teams integration code in OpenClaw to see if there are any specific settings or configurations that could be causing the duplication, such as incorrect handling of message formatting or card rendering.
  • Test the behavior with different types of large responses (e.g., plain text, markdown, tables) to understand the conditions under which the duplication occurs.

Example

No code example can be provided without more information on the OpenClaw codebase or the specific logic used for message processing and Teams integration.

Notes

The solution may require changes to the OpenClaw codebase, specifically in the areas responsible for message formatting, processing, and Teams integration. Without access to the code or more detailed logs, it's challenging to provide a precise fix.

Recommendation

Apply a workaround by modifying the message processing logic in OpenClaw to detect and prevent duplication of large responses in Teams, as upgrading to a fixed version is not implied in the provided information.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Response should appear exactly once, regardless of length or formatting.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: [Teams] Duplicate message rendering — same response appears twice in chat [1 comments, 1 participants]