File not seen by cursor

Hi, beginner here, but I’m mystified why Cursor can’t see my file.

It was working in chat until I copied a new reworked version from another IDE, then it suddenly wasn’t available in the context.

I closed and reopened the file. This time it was automatically added to the context but LLM says it can’t see it

Hey, could you please let me know which model you are using? And how long has your chat conversation been going on? What will happen if you start a new session, attach a file to it, and ask the model again? Will that solve the problem?