Removing files from context does not work

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

  1. Attach file to prompt by writing @filename
  2. Write rest of the prompt (in my case "what are the attached files")
  3. Remove attachment by pressing X
  4. Send your request
  5. 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

Hey thanks for the report. Could you update to version 2.2? We’ve made many improvements in this update and fixed a lot of bugs.

You can download it here: Download · Cursor
Or update via Help > Check for updates

Please check if the issue persists on the new version and let me know. If the bug remains, I’ll pass it to the engineering team right away.

This issue still persists on 2.2.20

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
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
1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.