Composer No Longer Editing Files

Today, for some reason, Composer has stopped applying changes to files and is not creating files at all.

In the past, if this starts to happen, simply closing and reopening the program fixed this.

Today, it refuses to apply changes or updates to files at all.

4 Likes

After being down for most of the day, it is suddenly working again.

And now it’s not again. Seems extremely intermittent.

1 Like
4 Likes

Thank you.

1 Like

Also encountered this today after an extended session using the composer, restarting cursor fixed the problem.

1 Like

Not getting it to FIX itself by restarting. Been stuck yesterday and today. It is not editing. Any information on the progress would be great

Im seeing same issues. Before I had this problem intermittently in Chat mode, I switched to Composer ~1 week ago and was blown away that it worked perfectly.

In the last few days, something changed and it doesn’t modify the files anymore, or does only SOME of the changes. I find myself copy/pasting code 80-90% of the time now.

Restart sometimes fixes the issue, but not always, and not permanently.

Same behavior while using own API keys for OpenAI (o1-preview or mini) or Anthropic (sonnet 3.5).

2 Likes

Same here, you are not alone:

Same for me. Composer is not updating files. I also noticed it is only making minor incomplete suggestions compared to how it has been working for me for the last couple weeks.

Is this problem fixed? Windows or Mac?

This issue has been going on for a while, it’s really annoying. I’d rather have a flag I need to manually check every time rather than have Composer fail to understand that it has to modify the files instead of spitting out the entire output like a chat bot.

I would also like to have a flag to tell the Composer that I DO NOT want any extra explanation, just modify the files since that’s your job. If I truly wanted to understand the code, then I would asked to comment it, or I would have used the normal chat.

I’m also facing the issue for past hour or so. It is working with claude-3.5-sonnet sometimes, but not with gpt-4o-mini or cursor-small. Sometimes they work like “add a print statement” on some functions but on other functions it doesnt work. It shows “accept/reject all” in composer mode but in editor there is no diff.

Thanks for reporting - the next time it happens, do you feel comfortable sharing a screenshot of the composer and the file? If the forum is too public, you could also send something to hi@cursor.com.

Would be much appreciated - it might help us find a fix.

Hi.

Well… Windows.

I got it working yesterday.
It has a problem now that is kinda new, it has a connection failed message.
Every time I try to use it so far today.
I had the same issue 2-3 days back.
I had it working yesterday, all of a sudden.

Which was nice.

Hopefully this connection issue can be sorted.
My connection is good, so I am unsure why it happens.

Thanks a lot

Cheers

Rune

I have the same problem

This has been happening for me as well, I am happy to share my files if you want, its as if the composer is not taking in any context anymore. In this example, I asked it to add a tab to my menu, it just imported a made up component at the top of the page, didnt create the file component or anything, and just exited, it thought for maybe 2 seconds and didnt event attempt to understand the full code structure. I noticed before composer used to add the context of the page before you open cmd+k on, now I cant see it, maybe its related?

Here is a video of the issue, you can see it does not edit the code directly anymore, nor does it create files anymore, and also when you ask it to edit basic things into the code, it just inserts it where your cursor is at:

It should be noted, it appears the Auth is failing despite the settings saying I am logged in fine with a Pro account, the client context is not being set correctly. My auth id is listed below if it helps. Also, I did experience an issue signing in yesterday, I got a 504 error after succesfully signing in with Google Oauth, the redirect broke on your end and gave the errors. I had to sign in with a new web browser in incognito mode to make it work, as if the auth cookies were modified and not cleared.

1 Like

I’ve been having this issue intermittently for the last few days as well on both my mac and my PC.

Has this been acknowledged as a known bug yet?

This has been a daily, but intermittent issue for me. Composer will output the changes into the chat window, but not actually edit the files. Sometimes, I can prompt it with “edit the actual files; you didn’t edit them” or something similar and it will work, but usually I have to restart Cursor completely.

Have people found workarounds yet?

1 Like

I think this is a sign of the times: with AI-product engineering there often are multiple model calls to do things. Also AI engineering is extremely difficult to debug. The end result is a product that is magical when it does work (can do the work of a small team of people in a program) . Otherwise when it is not working it seems to be an internally conflicted team that cannot get things done.