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
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