Chat (ask)- can't access file

Thanks for reporting a bug you have found in Cursor!
Please add the following info to help us diagnose your issue:

:white_check_mark: Check the forum to ensure the issue hasn’t been reported already
I don’t think so.

:lady_beetle: Provide a clear description of the bug
Using Chat (ask) to help refactor a file - tried with multiple LLM models and doesn’t seem to make a difference.

:arrows_counterclockwise: Explain how to reproduce the bug (if known)
Said file is very long - 2867 lines.
:camera: Attach screenshots or recordings (e.g., .jpg, .png, .mp4).

:computer: Tell us your operating system and your Cursor version (e.g., Windows, 0.x.x).
Version: 0.46.4

VSCode Version: 1.96.2

Commit: db71624816f6d52f6e54f47c37cdc7df23e22620

Date: 2025-02-25T07:28:07.050Z (3 hrs ago)

Electron: 32.2.6

Chromium: 128.0.6613.186

Node.js: 20.18.1

V8: 12.8.374.38-electron.0

OS: Darwin arm64 23.4.0

:no_entry_sign: Tell us if the issue stops you from using Cursor.
It does not, but it is hella annoying.