Claude 4.5 Sonnet not Continuing and Abruptly Quitting

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The Claude 4.5 Sonnet model isn’t working at all for me with a Hearts of Iron IV (a strategy game based off of World War 2) mod I am working on, and I am trying to make this work with it building me the code for the modification for the game.

But the issue is that when I did Context7 MCP server (I don’t know if it’s the MCP server or something else I’ll say later on) it kinda got really messed up and confused, what it basically did was hallucinate a bit by trying to find files that didn’t exist in the directory and then it abruptly quits. Then afterwards I had asked the model to continue, then it’s like: “The user is asking me to continue” in its CoT and then after that it quits abruptly immediately after it had wrote the word “continue” out.

Steps to Reproduce

Not sure how to explain how the steps are reproduced…

Expected Behavior

It should keep continuing and not breaking by abruptly quitting on what I wanted done.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.22 (system setup)
VSCode Version: 1.99.3
Commit: 31b1fbfcec1bf758f7140645f005fc78b5df3550
Date: 2025-09-29T21:47:28.451Z
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

For AI issues: which model did you use?

claude-4.5-sonnet (MAX)

For AI issues: add Request ID with privacy disabled

Request ID: 122ab81a-3167-49eb-abde-37b0c8c8ee62

Additional Information

It might be because the AI didn’t like something Context7 or my project directory and/or got confused or just simply didn’t like the WW2 aspect which would be weird because it’s just a game.

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

UPDATE:

I don’t see it happening anymore, I have gotten an update that might’ve fixed it. Not entirely sure though, I’ll post here if I see it again!

I’ve been having this issue since yesterday. Even when I ask it to generate code, it gives me a broken artifact in Claude web.

1 Like