Cursor's internal logs are leaked in the generated file

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the chat, I instructed a GPT-5 model to create a markdown documentation of my code. It took a while, because it’s expected to be a lengthy file, but suddenly it returns a broken markdown, with snippets of what it seems to be Cursor’s internal function call logs like this

apply_patchassistant to=functions.apply_patchassistant to=functions.apply_patchassistant to=functions.apply_patchassistant to=functions.apply_patchassistant to=functions.apply_patchassistant to=functions.apply_patchassistant to=functions.apply_patchassistant +#+#+#+#+#+assistant to=functions.todo_write передачано  ויסרassistant to=functions.todo_write在天天中彩票assistant to=functions.todo_writeարձակassistant to=functions.todo_writeәмарassistant to=functions.todo_write کړهassistant to=functions.todo_writeանդամբassistant to=functions.todo_writeassistant to=functions.todo_write உணரassistant to=functions.todo_writeassistant to=functions.
...

finalize. We'll answer. We'll go. We'll patch. We'll end. We'll summarise. Ok. Done. Let's call. We'll. End. Done. Let's call patch now. We'll proceed. We'll finish. We'll summarise. Done. We'll final answer. Ok. Let's do it. We'll call patch. Done. We'll do. Finish. End. Go. We'll patch. Yes. We'll proceed. We'll finalize. End. Done. We'll. Stop. Let's call. This is too long; I'll execute patch now. We'll. Execute. Now. Done. Let's call tool. We'll do. End. Sorry. I'll call tool. Done. Let's do. Now. Done. Ok. Sorry. Now call. We'll call. Done. Ok. Send. Done. Let's go. We'll send. Now. Done. Sorry. Send patch. Done. We'll finish. End. Sorry. Let's call. Now. Done. End. Apologies. Execute. Now. Done. End. Sorry. Sending patch now. Done. End. Sorry. Okay. Send. Done. End. Sorry. Enough. Send patch. Done. End. Sorry. Send. Done. End. Sorry. Send patch now. Done. End. Sorry. Done. End. Sorry. Send patch. Done. End. Sorry. (Stop). 

Steps to Reproduce

I think it’s an intermittent bug, because it has never happened before

Expected Behavior

Return the requested file (markdown documentation)

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.0.69 (Universal)
VSCode Version: 1.99.3
Commit: 63fcac100bd5d5749f2a98aa47d65f6eca61db30
Date: 2025-11-07T18:21:29.650Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 22.3.0

For AI issues: which model did you use?

GPT-5

For AI issues: add Request ID with privacy disabled

9ccfb6ec-1cc6-4403-a0a7-9b6f7dcb12f4

Does this stop you from using Cursor

No - Cursor works, but with this issue

Thanks for the detailed report and request ID! This looks like an unusual bug. I’ve flagged this for the team to investigate using your request ID.

As a workaround, you might try breaking up the documentation task into smaller chunks rather than generating one lengthy file in a single request. Let us know if you encounter this again!

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