Endless stuck loop

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I am giving it instructions to change something on a webpage and it will reply either with HTML that it’s supposed to be changing, or with some weird commands like this:
“<read_file>
<target_file>public/pages/account/ChallengeDetailsPage.tsx
<should_read_entire_file
True
<start_line_one_indexed
1
<end_line_one_indexed
300
<|tool▁call▁end|><|tool▁calls▁end|>”

It doesn’t actually make any changes though.

Steps to Reproduce

I am just using it as normal and then it suddenly happens out of nowhere.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.9 (user setup)
VSCode Version: 1.99.3
Commit: de327274300c6f38ec9f4240d11e82c3b0660b20
Date: 2025-08-30T21:02:27.236Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. Could you let me know if this happens in a new chat? Also, could you let me know which model you are using?

That was another odd thing, if I restarted Cursor all the old chat was still there, there was no new chat and I couldn’t seem to be able to start a new chat either. I had the “auto” switch on, so I’m not sure which model it was trying, if I switched it to “off” then claude-4-sonnet was checked. But we were using “auto”

Thanks for the additional info, we’ll check it.