Error reload message agent

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

This bug has occurred several times. Here’s how it happens: When you send a request to an agent, they respond by editing the IDE (code), or there are several other messages following that request. After that, if you try to edit the previous message to undo the actions they took, the entire chat disappears, and an error appears with a “Try Again” button that does nothing—the error just disappears. The chat is completely empty with no record of the conversation. If you send a new message to the agent, they remember the entire context; the problem is specifically with the UI/UX.

Steps to Reproduce

This bug has occurred several times. Here’s how it happens: When you send a request to an agent, they respond by editing the IDE (code), or there are several other messages following that request. After that, if you try to edit the previous message to undo the actions they took, the entire chat disappears, and an error appears with a “Try Again” button that does nothing—the error just disappears. The chat is completely empty with no record of the conversation. If you send a new message to the agent, they remember the entire context; the problem is specifically with the UI/UX.

Screenshots / Screen Recordings

Operating System

MacOS

Version Information

Version: 3.1.15
VSCode Version: 1.105.1
Commit: 3a67af7b780e0bfc8d32aefa96b8ff1cb8817f80
Date: 2026-04-15T01:46:06.515Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.3.0

For AI issues: which model did you use?

Auto

For AI issues: add Request ID with privacy disabled

Request ID: 4e330561-243d-423b-b7a4-5163d94e1741
No message ID found for composer: 30a9a68b-72ce-4dcd-b3c9-79ac1aa520cb
Error: No message ID found for composer: 30a9a68b-72ce-4dcd-b3c9-79ac1aa520cb
at zkd.streamFromAgentBackend (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41286:5984)
at zkd.getAgentStreamResponse (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:41286:18497)
at B3e.submitChatMaybeAbortCurrent (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29014:16038)
at async Ma (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:40269:4230)

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report. I can see the screenshot and stack trace. This is a known issue where the chat disappears when you edit a previous message. The team is aware and the bug is logged.

As a workaround, instead of editing the previous message, try sending a new one asking to undo the changes, for example, “undo the last changes”. The agent still remembers the context even if the UI loses the history, so this should work.

If the chat is already empty, sending a new message in the same chat should also bring the messages back, like you noticed.

Let me know if the workaround doesn’t help.