Composer stops writing files

Ok this kinda worked:

  1. ask the same question in sidebar
  2. copy the full response
  3. paste it in composer
  4. after it replies with a question - ask it to create the files

note weird formatting on filename in the reply

the underlying issue here is that this probably used up about 5-10 of my fast requests as I have no way of disabling fast requests for testing like this.

2 Likes

Ya, having the same issue!

No matter what i do it wont create the files, just repeats the content of the files in the message.

:cry:

2 Likes

No issues with file creation sofar since i upgraded last night to 0.39.5.
Mainly using claude.
4o-mini cant create new files - and now knows and tells you.
If it returns will post more details

2 Likes

I’ve been getting hit by this bug occasionally, and even if I reset composer it keeps doing it.

What sometimes works for me is to create a new composer window, and then ask him to do this:

create a file called ok.md at root, add this content "ok"

If it writes the file, I continue with the session.
If it doesn’t, I create a new composer window.

2 Likes

It happens to me more and more, I wonder if I should cancel my subscription. It’s extremely frustrating, especially since it’s prominently featured by the cursor.

any news on this issue? for me the composer sometimes respons with a recommendation of what I should do and then i tell him to please do t for me, he says he will do it and no new code gets written…

Hi any updates on this issue? I started experiencing it yesterday for the first time after having been using cursor for 2 weeks. Below are my cursor details.

Version: 0.42.2
VSCode Version: 1.93.1
Commit: c499aee5f16e67815c7dc795ff338dc8ab3e07f0
Date: 2024-10-12T05:39:54.471Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Darwin x64 21.6.0

1 Like

hi, we’ve made in the new 0.42 update so now composer doesn’t auto-apply changes to files that are not in your context to prevent unwanted edits and hallucinations. you can still apply the changes though by pressing the apply button on the top right of the codeblock and selecting the file you want it applied to. in the future this option will be toggleable to users can opt-in to revert to the previous behavior.

2 Likes

Hi @balta thanks for taking the time to reply. The issue I am facing is that when I ask the composer to make some changes because there is a bug or want to change something I always get this reply:

However, I don’t have access to your specific project or its code. To determine which GPT model you’re using, we’ll need to look at the relevant parts of your code.

Could you please provide me with some information about your project?

It seems like the composer has lost connection to the project I have option and can ready the files that have been created. In the past it would go and suggest changes to the files and then i could decide if I wanted to implement the changes or not.

I noticed that saving doesn’t work if no folder is selected for saving. If you open Cursor and Composer, it will generate code, but changes won’t be applied since it doesn’t know where to save them.

could you send a recording of this happening? are you sending any context / using codebase?

1 Like

Hi @balta , where should I send the video cause as far as I can see here I can only upload images. Thanks

1 Like