Composer generating indefinitely in 0.42.0

I just updated and composer is acting weird.
Until just before the update, gpt4o and sonnet were working fine.
But after the update, it still works fine in sonnet, but in gpt4o, the coding is not finalized at all and it is generating indefinitely.
When I checked the reason, I saw this at the bottom of the output.


my code
```

Korean explanation of coding


The code description is stuck in a place where it shouldn’t be, so it seems like the code is not finalized and is ‘generating’ indefinitely. For reference, I’m working in Korean with Korean language settings.

I’m confused because I’ve never had a problem with the current settings before, but suddenly it’s not working properly.Preformatted text

Hi @Ruinz12,

This will be fixed in v0.42.1, apologies for this. Meanwhile, could you try using claude 3.5 sonnet?

@shaoruu , I’m on 0.42.0 and the composer is completely broker on my side after the update: I cannot enter any text at all, cursor doesn’t open the detached composer window by a shortcut anymore on 3rd+ time.
Is it the issue you’re talking about that will be fixed in 0.42.1?

Version: 0.42.0
VSCode Version: 1.93.1
Commit: 9e8f0f993884031e2f08d75f7adab80d1732a980
Date: 2024-10-09T23:06:04.586Z (1 day ago)
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

This should now be fixed in 0.42.1. Sorry about that!

2 Likes

@shaoruu , my cursor have updated to 0.42.2, I can enter text in the Composer window now but it still has the bug so when I show->close the composer window 2-3 times and next time it doesn’t show up by the shortcut (just nothing happens). This issue seems was introduced with 0.42.0.

Same here!
0.42.2 here, and Composer just doesn’t do anything, works like a Chat only, it doesn’t apply any change to my code.
When I force it to apply, it completely ignores my current code and refact it entirely like it was a brand new file.

I tried changing to claude opus, same thing but at least it suggests changes in code, but takes forever and it also ignores my current code.

Also PRO user here

Mine was working with sonnet 3.5 fine. Changed it to o1 for a prompt just to review everything, then when I changed it back to 3.5 it stopped applying changes. 42.2

Looks like changing back to the full screen view from the floating window view allowed me to change the tab at the top to see the diff, and then when I went back to floating window view it started working again. Haven’t reproduced this but it did happen the one time I tried

hi, could i ask if the file that you wanted to change was in your context when the codeblock was generated?

we made a change in v0.42 where we no longer auto-apply changes to files not in your context to prevent hallucinations. in our next release we will make this option toggleable

Sorry for taking so long. But yeah u’re right, the file wasn’t on the context.
But that’s actually worse, cause most of the times I ask some things that has a wider context.

For example, I had a list of products, and I asked it to create a simple form with 2 fields and call it product-info. It did create the page, but couldn’t make my list to point to my new page cause the routing file wasn’t on the context I assume.
Also, when I forced it removed all the rest of my component and added the button with link to new component lol.

Before was 100% better, I’, 3 days without using, waiting for the rollback…

hey
what do you mean by “change was in your context…”?