Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
The attached video clearly displays the issue.
https://github.com/user-attachments/assets/1fbfa220-05f3-46a7-b586-391617507aa9
Steps to Reproduce
- Attach file to prompt by writing
@filename - Write rest of the prompt (in my case
"what are the attached files") - Remove attachment by pressing
X - Send your request
- See how the AI still sees the file as attached.
Expected Behavior
The files which are removed from the context are truly removed from the context. Right now, they are visually removed from the context, but still behave as if they were there.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 2.1.50
VSCode Version: 1.105.1
Commit: 56f0a83df8e9eb48585fcc4858a9440db4cc7770
Date: 2025-12-06T23:39:52.834Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.5.0
For AI issues: which model did you use?
Irrelevant - composer-level issue.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor
