Deepseek-r1 no longer applies partial code changes

This started out of the blue about a week ago or so. This exactly workflow used to work.

Select the deepseek-r1 model in Chat
Have it output a partial code change
Press Apply
Notice how it spins and spins and never changes the code

Untitled

Version: 0.45.11
VSCode Version: 1.96.2
Commit: f5f18731406b73244e0558ee7716d77c8096d150
Date: 2025-02-07T09:43:58.555Z
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0

1 Like

Hey, everything is working fine for me. Could you create a new chat and check there? Also, see if there are any errors in the DevTools panel.

I have done new Chats, closed cursor, rebooted and all that.

I opened the bottom panel with “Window” selected.

After deepseek-r1 replied to me I got the following 2 errors:

2025-02-16 04:25:04.845 [error] [resource_exhausted] Error: ConnectError: [resource_exhausted] Error
    at Hcs.$endAiConnectTransportReportError (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1412:94830)
    at Bmi.S (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4870:41993)
    at Bmi.Q (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4870:41771)
    at Bmi.M (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4870:40859)
    at Bmi.L (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4870:39960)
    at v3e.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4870:38752)
    at R.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:59:748)
    at R.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:59:967)
    at LX.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1394:10356)
    at l.onmessage (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:4915:11855) [resource_exhausted] Error
2025-02-16 04:25:12.505 [error] There are no commenting ranges at the current position (with range).: Error: There are no commenting ranges at the current position (with range).
    at bS.addCommentAtLine (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1407:2601)
    at bS.addOrToggleCommentAtLine (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1407:2139)
    at bS.db (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1407:1788)
    at v3e.value (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1406:21264)
    at jv.B (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:59:748)
    at jv.C (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:59:818)
    at jv.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:59:1036)
    at jv.fire (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:299:19676)
    at s.onMouseUp (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:299:17616)
    at oFs.emitMouseUp (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:107:17535) There are no commenting ranges at the current position (with range).
2025-02-16 04:25:13.955 [error] command 'inlineChat.hideHint' not found: Error: command 'inlineChat.hideHint' not found
    at Q7t.n (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1954:1346)
    at Q7t.executeCommand (vscode-file://vscode-app/Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1954:1278) command 'inlineChat.hideHint' not found

Are you using a VPN? Do you also have a Pro subscription? Try clearing the cache, as it sometimes helps resolve issues.

I’m not using a VPN. I used to have a Pro subscription but my trial ended a week ago or so. I’ll try clearing the cache and report back.

I did

rm -rf ~/.cursor
cursor --clear-cache
rm -rf ~/Library/Application\ Support/Cursor
rm -rf ~/Library/Caches/com.cursor*

And the issue still occurs

Just as a test, I tried gpt-4o-mini. There were no errors after it displayed the code changes like deepseek-r1 had and it also “applied” my changes quickly and it didn’t hang.

However, I say “applied” my changes because I hit the Apply button and it scanned my code and finished but no actual changes occured. I hit Reapply and no actual code changes were performed

Hey, the Apply feature is a paid function, you need to renew your membership to use it.

OK, I guess I missed that part

But regardless, deepseek-r1 doesn’t behave properly with a free license, so it looks like that’s a bug

BTW, the docs mention nothing about Apply being a Pro features. It’s not on the website nor in the docs. No wonder I didn’t know.

No mention of it at all

could anyone confirm “Apply” is also a Pro feature?
The pricing info in the Cursor website is literally useless.

Hey, yes, this relates to pro features.