Cursor AI chat not showing generated code blocks

Describe the Bug

Hi everyone, I’m having an issue with the Cursor AI chat:
When I ask it to generate code, it replies with the explanation, but the actual code block doesn’t show up in the chat interface. Sometimes the code appears only after I force a “Reload Window” (Ctrl+Shift+P → Reload Window), but that’s not a reliable solution.

I’ve already tried:

Restarting Cursor

Updating the app

Creating a new project

Checking for any “Show more” button

Still, the generated code is not being displayed.

Has anyone else experienced this or knows how to fix it?
Thanks in advance!

Steps to Reproduce

Open any project in Cursor (new or existing).

Open the AI chat sidebar.

Ask the AI to generate some Python code (e.g., “Write a PyQt5 window with a button”).

Wait for the response.

The explanation appears, but no code block is shown.

Pressing Ctrl+Shift+P → Reload Window sometimes makes the code appear.

Expected Behavior

The AI chat should display both the explanation and the generated code block directly in the chat interface without needing to reload the window or take any extra action.

Screenshots / Screen Recordings

here_is_the_code_but_no_code.jpg

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.3.0 (user setup)
VSCode Version: 1.99.3
Commit: 410000a83355c025daba0c6156955bf08687d080
Date: 2025-07-23T05:57:24.496Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

4 Likes

Same issue as well.

2 Likes

Hi @Gui3315 @Shai_Keshet and thank you for reporting the issue with the new version.

We are already looking into this issue and sorry for the inconvenience.

In the meantime you could download 1.2. from the website and set release channel to Default. Downloads | Cursor - The AI Code Editor

[Update: will be fixed in 1.3.1 soon.]

Same issue, from the last update, appears they did not test it lol

Version: 1.3.3
VSCode Version: 1.99.3
Commit: e589175333a2d938c3d944f9bf0993155e655e70
Date: 2025-07-26T19:15:16.148Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

still not fixed in 1.3.3

this is terrible..

I had the same issue (and have accidentally reported a duplicate of this bug). For me, changing from “Auto” (select model) to a concrete model, “claude-4-sonnet” in my case, resolved the problem. Now I get all the code. Happy for this workaround before it is fixed.

EDIT: Works in 95% of time, a small residue of not returning code still happens.

hi everyone, we have released version 1.3.4 which addresses this issue. Please let me know in case it does not improve after updating to 1.3.4.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.