Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
Every once in a while the agents thinking process starts writing into a codeblock, making long single lines of the “thoughts”.
Steps to Reproduce
not 100% sure what triggers it but i think it happens when the agent thinking about literal code and place the code in the thought output, then if the line ends with code it will terminate with a ``` which leads to everything else landing in the codeblock
Expected Behavior
The codeblock shouldn’t be opened in this case, or the previous block should have been within the codeblock.
Screenshots / Screen Recordings
Operating System
Linux
Version Information
Version: 2.6.22
VSCode Version: 1.105.1
Commit: c6285feaba0ad62603f7c22e72f0a170dc8415a0
Date: 2026-03-27T15:59:31.561Z
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Linux x64 6.19.8-200.fc43.x86_64
For AI issues: which model did you use?
Opus 4.6 thinking, but it happens with every model afaik.
For AI issues: add Request ID with privacy disabled
320761e9-1470-4739-933a-08d225a55ef4
Does this stop you from using Cursor
No - Cursor works, but with this issue

