I’ve encountered an issue multiple times where I input something into the chat, Cursor processes it, but then nothing happens. The chat input box (to ask a followup) just reappears without any response:
Last week, I recommended Cursor to a colleague. One of the first things he experienced was the same problem: he wrote a prompt, Cursor worked on it, but then the chat input reappeared without an answer.
This has been an issue for quite some time. I hoped it would be fixed in some of the releases, but since nothing has changed, I’m writing to report it.
For me this is the most “bugging” bug in Cursor! When this happens, I often can’t get Cursor to respond at all (followups do not return answers as well…).
I have to start a new chat and sometimes rephrase my prompt to hopefully get a result. Really annoying if I have a lot of context in my chat already -.- (not even sure if these kind of requests count as fast-requests?)
Also: this kind of silent failure is the worst kind of behavior. An error message with some indication of what went wrong would be much better. Ideally, this issue should of course be fixed so that some kind of answer is always provided
Here the version, but as mentioned - this has been an issue for me for many versions.
For reference, I added some, possibly naive, brainstorming around the ‘silent failing’ dynamic in this post, hoping to get a good outcome for all involved etc:
I’m not sure though if the LLM providers count all such requests as successful or not.
I’m not sure where the ‘time out’ (if that’s what it is) occurs, either with the LLM provider response or within Cursor.
Unfortunately, no response from @truell20 after I provided all the details.
The annoying this about getting no response is that it still consumes credits, so if it happens 3-4 times a day and you retry the same question (which again fails), now you’re losing 10 credits a day for nothing
Only 2-3 minutes? I’d love to get that good of a response time. I’ve waited 15 -30 minutes because I tried different models and they ALL stopped responding. I wait and wait and wait all for it to not respond at all. Try another AI model and get the same results. I give up and come back the next day and it will work for an hour or two and then right back to the same old BS.
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
workbench.desktop.main.js:645 InlineDiffService#handleDiffState: diff is not active when calling handleDiffState
handleDiffState @ workbench.desktop.main.js:645
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918
workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:2284 [Extension Host] Error: Start of the range is outside the file.
at o (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-always-local/dist/main.js:2:209309)
at t.changeModel (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-always-local/dist/main.js:2:210493)
at t.formatDiffHistory (/Applications/Cursor.app/Contents/Resources/app/extensions/cursor-always-local/dist/main.js:2:246758)
at async Promise.allSettled (index 0)
at async sHt.$getEverythingAllLocalProviderRunCommand (file:///Applications/Cursor.app/Contents/Resources/app/out/vs/workbench/api/node/extensionHostProcess.js:159:918486)
Lpr @ workbench.desktop.main.js:2284
2workbench.desktop.main.js:952 [composer] Error saving latest state for file file:///Applications/MAMP/htdocs/wpcontentwizard.com/demo/wp-content/plugins/WP-Content-Curator/includes/class-ai-handler-factory.php: Error: An unexpected bug occurred.
at Ft.toRangeMapping2 (editorSimpleWorkerMain.js:52:3049)
at Nf.j (editorSimpleWorkerMain.js:55:3009)
at Nf.computeDiff (editorSimpleWorkerMain.js:55:1797)
at St.$computeLinesDiff (editorSimpleWorkerMain.js:59:168162)
at q4.g (editorSimpleWorkerMain.js:59:177762)
at Object.handleMessage (editorSimpleWorkerMain.js:59:177361)
at J4.k (editorSimpleWorkerMain.js:59:176341)
at J4.h (editorSimpleWorkerMain.js:59:175972)
at J4.handleMessage (editorSimpleWorkerMain.js:59:175627)
at q4.onmessage (editorSimpleWorkerMain.js:59:177427)
createCurrentCheckpoint @ workbench.desktop.main.js:952
workbench.desktop.main.js:639 [composer] trying to add an action button that already exists, skipping
addActionButton @ workbench.desktop.main.js:639
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Error getting conversation summary: Error: invalid int 32: 2147483648
at lVe (workbench.desktop.main.js:447:65805)
at bgn.int32 (workbench.desktop.main.js:448:12013)
at Kre (workbench.desktop.main.js:448:19189)
at JRi (workbench.desktop.main.js:448:18292)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at Lwe.toBinary (workbench.desktop.main.js:447:67486)
at GRi (workbench.desktop.main.js:448:19110)
at JRi (workbench.desktop.main.js:448:18390)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at jwe.toBinary (workbench.desktop.main.js:447:67486)
updateComposerSummaryIfOutdated @ workbench.desktop.main.js:1918
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:591 ConnectError: [invalid_argument] Invalid request because prematurely ended stream
at yhs.$endAiConnectTransportReportError (workbench.desktop.main.js:2318:111488)
at zmi.S (workbench.desktop.main.js:4948:42054)
at zmi.Q (workbench.desktop.main.js:4948:41832)
at zmi.M (workbench.desktop.main.js:4948:40920)
at zmi.L (workbench.desktop.main.js:4948:40021)
at K9e.value (workbench.desktop.main.js:4948:38813)
at M.B (workbench.desktop.main.js:57:748)
at M.fire (workbench.desktop.main.js:57:967)
at _X.fire (workbench.desktop.main.js:2300:10356)
at l.onmessage (workbench.desktop.main.js:4993:11916)
streamResponse @ workbench.desktop.main.js:591
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [invalid_argument] Invalid request because prematurely ended stream
at yhs.$endAiConnectTransportReportError (workbench.desktop.main.js:2318:111488)
at zmi.S (workbench.desktop.main.js:4948:42054)
at zmi.Q (workbench.desktop.main.js:4948:41832)
at zmi.M (workbench.desktop.main.js:4948:40920)
at zmi.L (workbench.desktop.main.js:4948:40021)
at K9e.value (workbench.desktop.main.js:4948:38813)
at M.B (workbench.desktop.main.js:57:748)
at M.fire (workbench.desktop.main.js:57:967)
at _X.fire (workbench.desktop.main.js:2300:10356)
at l.onmessage (workbench.desktop.main.js:4993:11916)
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Error getting conversation summary: Error: invalid int 32: 2147483648
at lVe (workbench.desktop.main.js:447:65805)
at bgn.int32 (workbench.desktop.main.js:448:12013)
at Kre (workbench.desktop.main.js:448:19189)
at JRi (workbench.desktop.main.js:448:18292)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at Lwe.toBinary (workbench.desktop.main.js:447:67486)
at GRi (workbench.desktop.main.js:448:19110)
at JRi (workbench.desktop.main.js:448:18390)
at Object.writeMessage (workbench.desktop.main.js:448:16061)
at jwe.toBinary (workbench.desktop.main.js:447:67486)
updateComposerSummaryIfOutdated @ workbench.desktop.main.js:1918
workbench.desktop.main.js:965 [composer] ToolFormer: error in toolWrappedStream undefined
toolWrappedStream @ workbench.desktop.main.js:965
workbench.desktop.main.js:1918 [composer] Error in AI response: ConnectError: [canceled] This operation was aborted
at yhs.$streamAiConnect (workbench.desktop.main.js:2318:110714)
at async workbench.desktop.main.js:459:133880
at async p_t.toolWrappedStream (workbench.desktop.main.js:965:4404)
at async jC (workbench.desktop.main.js:591:4354)
at async yc.handleStreamComposer (workbench.desktop.main.js:922:2033)
at async vLt.streamResponse (workbench.desktop.main.js:591:13952)
at async dVt. (workbench.desktop.main.js:2976:872)
at async hVt. (workbench.desktop.main.js:2935:2413)
at async KR.processCodeBlocks (workbench.desktop.main.js:948:1926)
at async workbench.desktop.main.js:1918:21855
(anonymous) @ workbench.desktop.main.js:1918
workbench.desktop.main.js:1918 [composer] Failed to get complete AI response
submitChatMaybeAbortCurrent @ workbench.desktop.main.js:1918