Missing file context woes

I’ve been bitten by this sort of thing multiple times today:

I assume Cursor’s model must be deciding that the files aren’t relevant, even when I’ve added them explicitly and tagged them, or it’s including the context but not labelling it in a way that the LLM understands, or something similar? But quite tricky to figure out what to do about this.

1 Like

Since this only managed a total of 6 views after a couple of days, I think it’s become buried in the noise. @deanrie I’m taking the liberty of tagging you in, not as a demand for a solution or anything, but just as an FYI in case you might need to pass it on. I’ve just had the same thing yet again, with the LLM saying that the files I’ve explicitly tagged into the context aren’t present.

Version: 0.43.5
VSCode Version: 1.93.1
Commit: 2eaa79a1b14ccff5d1c78a2c358a08be16a8e5a0
Date: 2024-11-27T09:11:51.854Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.6.0

Thanks!

1 Like

Hey, thanks, we need to check this.

1 Like

Resync codebase index?

A few questions:

Are there any additional messages in the conversation history?
Is this chat, composer normal, or composer agent?

Could you try the following:

  1. Temporarily disable privacy mode in Cursor settings
  2. Make a request with this kind of failure
  3. cmd+shift+p > report ai action > select the request > copy
  4. Paste the request id here

Thanks @amanrs! I’m not experiencing it right now, but next time I can reproduce it, I’ll do exactly that.

It’s Composer normal, in the context of a longer conversation.

Good suggestion. I’ve only had to use that in the past when things have been out of date, rather than appearing in the file list but sending nothing at all. I can certainly give it a try as a workaround if I get stuck with it again.

FWIW, it seems (unscientifically over a small sample size) to have unstuck when I’ve quit the IDE and restarted it. I’ve had the “ah I can see it now” response from the LLM after doing that.

1 Like

Great, please tag me if you have a repro and the request id!

1 Like