Apply stopped Applying

First, I’d like to say that cursor rocks!

Has anyone faced the issue I’m having where the chat apply button goes through the motions of processing the page but does not make any changes? I have verified there are indeed suggested changes to be made and that I have the correct page selected. It was working flawlessly and just stopped working. I have rebooted and even uninstalled and reinstalled cursor but the issue remains.

3 Likes

Yes, and I avoid using this bug feature at all costs because it can only mess with your code. Sometimes, your code is half-edited due to API errors and other code errors. You might think it’s applied, but it’s not.

1 Like

I had this issue once a few weeks ago, however I haven’t had it since. It is a very major problem and definitely needs to be fixed.

1 Like

Yesterday connection was slow. Generally works fine since some weeks agos update of the LLM.

Mine is just not working, is there any consistent way to fix it or are we still waiting for something?

Could you send a screenshot of what you see on your end? @bulletninja

Certainly want to fix this

Not sure what to take the screenshot to exactly. But turns out if the code response in the chat is too long, applying the change just does nothing, not even the “iteration” it shows when generating the diff, nothing.

But I just mitigated this by asking the AI to split the response in smaller bits, then it does the “apply” correctly.

How long of a code block were you applying?

277+ lines don’t work, but 50 works

i have the same issue, seems like it does the same thing with all models. worked fine for ~15 chat messages then when clicking “apply” no changes come up in the file. “accept” and “reject” appear, but no diff.

i’ve been having this issue all day today (in the Chat interface). and it’s gotten to the point where i am now telling it to apply code method by method, and verifying every time. problems are most pronounced with longer files (e.g. 600 lines of code). sometimes even going method by method i have to copy and paste, or it will try to apply to various methods even though i selected only one, and even though the other methods do exist in the code. FWIW, where i have noticed that it seems to work perfectly every time is when the code block only includes a single method. even so, enjoying using the software, and am preferring it to Aider, but mainly because it’s cheaper. :slight_smile: also, i can see how hopefully within a few releases Cursor will be as fast and accurate as Aider, and i love how integrated everything is in Cursor.

will take a look into what’s going on! how long are the codeblocks you are trying to apply?

mind sharing your email so I can check the logs?

Thanks rishabhy! I sent you a DM with more details and my email so you can check the logs.

This happens to me sporadically…when it does, usually I can reload the window, and it kicks back in normally. Sometimes, too, I can close and re-open the file and it’ll start working again. Not ideal in either case, but not the worst.