Code Generation Stuck in Composer Chats

Hi everyone,

I’m experiencing an issue in some Composer chats where the code generation process gets stuck after a while. As soon as I send a command, I only see “…” and can cancel the generation with “Cancel generation,” but nothing else happens. If I create a new Composer chat, it usually works again without any issues, but I’d prefer not to lose the current chat. Unfortunately, this happens repeatedly, especially in very long chats.

Here are the logs from the dev console:

workbench.desktop.main.js:3703 Failed to perform semantic search: Error: Semantic search timeout
    at workbench.desktop.main.js:3703:207

workbench.desktop.main.js:3530 [composer] Empty originalModelLines for file:///Users/m42ius/Desktop/test-project/readme.txt

The second log appears for every file in my codebase.

Maybe someone here is familiar with this problem and has an idea …

Thanks! :slight_smile:

Hey, which version of Cursor are you using?

Hey, I’m using version: 0.44.8, commit: 1.93.1 on MacOS :slight_smile:

I noticed that generation works again if I edit the last working message in the chat and resend it. However, any further messages cause the same issue again, as if I’ve hit some kind of limit…

Hey, how long do your sessions last in Composer?

Hard to say. Most of the time, I work with one Composer chat over several days/weeks because I don’t want to lose the context.

For me, even i created a new composer. It still stuck at “Generating…”. I have to Ctrl Shift P and bring up “Developer: Reload with all extension disable” for it to work. Apparently some extensions are not fully compatible with the Composer

Hey, which version of Cursor are you using?