Skip to content

User message rendered twice in agent thread with Thinking indicator between duplicates #50812

@AlexanderVoid45

Description

@AlexanderVoid45

Reproduction steps

To reproduce: send messages in an agent thread during a normal workflow. The duplication happens intermittently and started appearing after updating Zed. I have not found a reliable way to trigger it on demand.

Image

Current vs. Expected behavior

When sending a message in an agent thread, the message sometimes appears twice. The duplicate shows up below a "Thinking" indicator, as if it was sent again. The agent does not react to the duplicate and only processes the message once, so this appears to be purely a frontend rendering bug that does not affect the actual conversation context.I did not experience this issue on v0.225.9 or earlier versions. It started appearing after updating to v0.226.4, so it is likely a regression introduced in this release.

Expected behavior: the user message should appear only once in the thread.

Zed version and system specs

Environment: Zed v0.226.4 (175cfdc), macOS Tahoe (Apple Silicon), Claude Agent.

Attach Zed log file

Zed.log

Relevant Zed settings

settings.json

Relevant Keymap

keymap.json

(for AI issues) Model provider details

No response

If you are using WSL on Windows, what flavor of Linux are you using?

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:ai/agent threadFeedback for the agent threadfrequency:commonBugs that happen for at least a third of the users across all platforms and kinds of usagepriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugsstate:needs reproNeeds reproduction steps / someone to reproduce

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions