claude-code - 💡(How to fix) Fix [BUG] Sent messages duplicate/repeat in Cowork desktop app conversation thread [1 comments, 2 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
anthropics/claude-code#45375Fetched 2026-04-09 08:06:53
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×4closed ×1commented ×1

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

When a message is sent in the Cowork desktop app, the same message appears 2-3 times consecutively in the conversation thread. The message was only typed and sent once. The duplicates persist in the chat history — they do not disappear after a moment. This happens during normal use in an active long-running conversation. The conversation otherwise continues functioning normally (responses are generated correctly), but the duplicated user messages accumulate and make the thread confusing to read.

What Should Happen?

A sent message should appear exactly once in the conversation thread. Sending a message should never result in it appearing multiple times in the history.

Error Messages/Logs

Steps to Reproduce

  1. Open the Cowork desktop app and start or resume a conversation
  2. Type a message and send it
  3. Observe the conversation thread — the sent message appears 2–3 times consecutively
  4. Reproducible in long-running conversations; duplicates persist in history

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

N/A - Cowork desktop app (research preview)

Claude Code Version

N/A - Cowork desktop app (research preview)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue of duplicated messages in the conversation thread may be resolved by investigating and adjusting the message handling logic in the Cowork desktop app to prevent multiple instances of the same message from being added to the conversation history.

Guidance

  • Review the code responsible for sending and displaying messages in the conversation thread to identify any potential loops or recursive function calls that could be causing the duplication.
  • Verify that the message sending functionality is correctly handling asynchronous requests and responses to ensure that each message is only sent and displayed once.
  • Check for any caching or buffering mechanisms that might be storing and re-displaying messages multiple times.
  • Investigate the Anthropic API documentation to ensure that the Cowork desktop app is correctly implementing the API's messaging functionality.

Example

No specific code example can be provided without more information about the implementation details of the Cowork desktop app.

Notes

The lack of specific error messages or logs makes it difficult to pinpoint the exact cause of the issue. Further investigation and debugging are necessary to determine the root cause of the problem.

Recommendation

Apply workaround: The issue is likely related to the implementation of the messaging functionality in the Cowork desktop app, so applying a workaround such as implementing a check to prevent duplicate messages from being added to the conversation history may be a viable solution.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING