Cursor AI Chat - Not Responding

I am not getting any response, or error messages from the AI Chat feature.

I have restarted Cursor multiple times.

I am on the Pro subscription.

I am running Cursor on a Windows laptop. What do I do?

4 Likes

Hi @VermontForest

Tell me more about whatā€™s going on. Are chat responses not coming through, or canā€™t you type in the chat window? What model are you using?

After typing in the chat window the text is accurately displayed in the chat window.

When pressing ā€˜Enterā€™ there is no response from the chat window.

The chat windowā€™s contents can be edited.

The ā€˜Enterā€™ key can be repeatedly pressed yet there is no response from the chat.

1 Like

I was actually going to create a thread about this same problem. Iā€™m on Linux but having the same issue. It seems when I send a prompt the first time after booting up Cursor, it works. But all subsequent prompts just show the loading icon but never produce any results. It does appear that if I close the IDE and start it up again, the first prompt will work but, then it fails on any additional prompts unless I restart the IDE. Iā€™ve tried different models but the behavior is always the same. I have had rare instances where I can maybe get two or three prompts with results before it locks up but that doesnā€™t happen often. I donā€™t see any errors generated within VS code either.

Please provide additional information about your system and log entries by following this guide:

Again, Iā€™m on Linux (Linux Mint 21)

and the OP is on Windows but it sounds like weā€™re having the same issue. Hereā€™s the details from my machine. To give you a little background, I maintain a very large web application that has roughly 750 VueJS files for the front end. I was working on upgrading from Vue 2 to Vue 3 and Cursor was making it a breeze when it works properly.

Steps to produce the error:

  1. Open a file (VueJS file as mentioned above). Ctrl + L to open the chat. Enter prompt of ā€œConvert to Vue 3ā€.
  2. Chat works as expected, refactors the file almost perfectly and allows me to apply the code changes after review
  3. Go to the next file, Ctrl + L, Enter the same exact prompt and I just see the three loading dots which never go away. I even tried leaving there for about an hour and it still just kept loading, no errors of any kind are displayed. (my screenshot didnā€™t pick up the loading ā€œā€¦ā€ part of it but it was there)

Also, as I mentioned earlier, if I close the IDE, reopen it and try the prompt for the file that was hung previously, it usually works. But upon moving to a different file, the same problem almost always happens again.

It appears I can only attach one screenshot at a time. Soā€¦

Version: 0.42.3
VSCode Version: 1.93.1
Commit: 949de58bd3d85d530972cac2dffc4feb9eee1e40
Date: 2024-10-16T17:56:07.754Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Linux x64 5.15.0-124-generic

The dev tools console does not show any errors, just two entries that say ā€œExtension Host workbench.desktop.main.jsā€

I can put the output of any log files you would like to see in a follow up comment. Just let me know which ones.

I have the same issue, on Windows
01) Screenshot of issue (redact any sensitive information)

02) Steps to reproduce

I try to chat in my main chat for this project and when I press enter to send or click the ā€œchatā€
button, it doesnā€™t do anything. seems like a connection issue.

03) System Information from:

Version: 0.42.3
VSCode Version: 1.93.1
Commit: 949de58bd3d85d530972cac2dffc4feb9eee1e40
Date: 2024-10-16T17:56:07.754Z
Electron: 30.4.0
Chromium: 124.0.6367.243
Node.js: 20.15.1
V8: 12.4.254.20-electron.0
OS: Windows_NT x64 10.0.22631

04) Are you using a VPN or Zscaler?

  No

05) Developer tools console errors

ļ»æ
workbench.desktop.main.js:3012 Error: Unable to read file 'c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg' (Error: Unable to resolve nonexistent file 'c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 0)
    at async s.getImagesFromImageSelection (workbench.desktop.main.js:3746:12611)
    at async Promise.all (index 4)
    at async N.getConversationHistory (workbench.desktop.main.js:3748:12849)
    at async Pe.makeChatRequestParams (workbench.desktop.main.js:4427:11650)
    at async Pe.submitUnifiedChat (workbench.desktop.main.js:4428:4053)
console.error	@	workbench.desktop.main.js:3012
I	@	workbench.desktop.main.js:2989
await in I (async)		
resizeImage	@	workbench.desktop.main.js:3746
(anonymous)	@	workbench.desktop.main.js:3746
getImagesFromImageSelection	@	workbench.desktop.main.js:3746
getConversationHistory	@	workbench.desktop.main.js:3748
await in getConversationHistory (async)		
makeChatRequestParams	@	workbench.desktop.main.js:4427
submitUnifiedChat	@	workbench.desktop.main.js:4428
submitChat	@	workbench.desktop.main.js:4427
Be	@	workbench.desktop.main.js:4426
Le	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
ae	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
handleSubmit	@	workbench.desktop.main.js:4195
(anonymous)	@	workbench.desktop.main.js:4197
ls	@	workbench.desktop.main.js:502
(anonymous)	@	workbench.desktop.main.js:502
vs	@	workbench.desktop.main.js:502
ss	@	workbench.desktop.main.js:502
update	@	workbench.desktop.main.js:497
ls	@	workbench.desktop.main.js:502
_i	@	workbench.desktop.main.js:502
K	@	workbench.desktop.main.js:499
(anonymous)	@	workbench.desktop.main.js:499
workbench.desktop.main.js:3012 Error: Unable to read file 'c:\My Synology Drive\dev\tcgscan\debug_output\3_extracted_card.jpg' (Error: Unable to resolve nonexistent file 'c:\My Synology Drive\dev\tcgscan\debug_output\3_extracted_card.jpg')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 1)
console.error	@	workbench.desktop.main.js:3012
I	@	workbench.desktop.main.js:2989
await in I (async)		
resizeImage	@	workbench.desktop.main.js:3746
(anonymous)	@	workbench.desktop.main.js:3746
getImagesFromImageSelection	@	workbench.desktop.main.js:3746
getConversationHistory	@	workbench.desktop.main.js:3748
await in getConversationHistory (async)		
makeChatRequestParams	@	workbench.desktop.main.js:4427
submitUnifiedChat	@	workbench.desktop.main.js:4428
submitChat	@	workbench.desktop.main.js:4427
Be	@	workbench.desktop.main.js:4426
Le	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
ae	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
handleSubmit	@	workbench.desktop.main.js:4195
(anonymous)	@	workbench.desktop.main.js:4197
ls	@	workbench.desktop.main.js:502
(anonymous)	@	workbench.desktop.main.js:502
vs	@	workbench.desktop.main.js:502
ss	@	workbench.desktop.main.js:502
update	@	workbench.desktop.main.js:497
ls	@	workbench.desktop.main.js:502
_i	@	workbench.desktop.main.js:502
K	@	workbench.desktop.main.js:499
(anonymous)	@	workbench.desktop.main.js:499
ļ»æ
ļ»æ
workbench.desktop.main.js:3012 Error: Unable to read file 'c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg' (Error: Unable to resolve nonexistent file 'c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 0)
    at async s.getImagesFromImageSelection (workbench.desktop.main.js:3746:12611)
    at async Promise.all (index 4)
    at async N.getConversationHistory (workbench.desktop.main.js:3748:12849)
    at async Pe.makeChatRequestParams (workbench.desktop.main.js:4427:11650)
    at async Pe.submitUnifiedChat (workbench.desktop.main.js:4428:4053)
console.error	@	workbench.desktop.main.js:3012
I	@	workbench.desktop.main.js:2989
await in I (async)		
resizeImage	@	workbench.desktop.main.js:3746
(anonymous)	@	workbench.desktop.main.js:3746
getImagesFromImageSelection	@	workbench.desktop.main.js:3746
getConversationHistory	@	workbench.desktop.main.js:3748
await in getConversationHistory (async)		
makeChatRequestParams	@	workbench.desktop.main.js:4427
submitUnifiedChat	@	workbench.desktop.main.js:4428
submitChat	@	workbench.desktop.main.js:4427
Be	@	workbench.desktop.main.js:4426
Le	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
ae	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
handleSubmit	@	workbench.desktop.main.js:4195
(anonymous)	@	workbench.desktop.main.js:4197
ls	@	workbench.desktop.main.js:502
(anonymous)	@	workbench.desktop.main.js:502
vs	@	workbench.desktop.main.js:502
ss	@	workbench.desktop.main.js:502
update	@	workbench.desktop.main.js:497
ls	@	workbench.desktop.main.js:502
_i	@	workbench.desktop.main.js:502
K	@	workbench.desktop.main.js:499
(anonymous)	@	workbench.desktop.main.js:499
workbench.desktop.main.js:3012 Error: Unable to read file 'c:\My Synology Drive\dev\tcgscan\debug_output\3_extracted_card.jpg' (Error: Unable to resolve nonexistent file 'c:\My Synology Drive\dev\tcgscan\debug_output\3_extracted_card.jpg')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 1)
console.error	@	workbench.desktop.main.js:3012
I	@	workbench.desktop.main.js:2989
await in I (async)		
resizeImage	@	workbench.desktop.main.js:3746
(anonymous)	@	workbench.desktop.main.js:3746
getImagesFromImageSelection	@	workbench.desktop.main.js:3746
getConversationHistory	@	workbench.desktop.main.js:3748
await in getConversationHistory (async)		
makeChatRequestParams	@	workbench.desktop.main.js:4427
submitUnifiedChat	@	workbench.desktop.main.js:4428
submitChat	@	workbench.desktop.main.js:4427
Be	@	workbench.desktop.main.js:4426
Le	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
ae	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
handleSubmit	@	workbench.desktop.main.js:4195
(anonymous)	@	workbench.desktop.main.js:4197
ls	@	workbench.desktop.main.js:502
(anonymous)	@	workbench.desktop.main.js:502
vs	@	workbench.desktop.main.js:502
ss	@	workbench.desktop.main.js:502
update	@	workbench.desktop.main.js:497
ls	@	workbench.desktop.main.js:502
_i	@	workbench.desktop.main.js:502
K	@	workbench.desktop.main.js:499
(anonymous)	@	workbench.desktop.main.js:499
ļ»æ

ļ»æ
workbench.desktop.main.js:3012 Error: Unable to read file 'c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg' (Error: Unable to resolve nonexistent file 'c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 0)
    at async s.getImagesFromImageSelection (workbench.desktop.main.js:3746:12611)
    at async Promise.all (index 4)
    at async N.getConversationHistory (workbench.desktop.main.js:3748:12849)
    at async Pe.makeChatRequestParams (workbench.desktop.main.js:4427:11650)
    at async Pe.submitUnifiedChat (workbench.desktop.main.js:4428:4053)
console.error	@	workbench.desktop.main.js:3012
I	@	workbench.desktop.main.js:2989
await in I (async)		
resizeImage	@	workbench.desktop.main.js:3746
(anonymous)	@	workbench.desktop.main.js:3746
getImagesFromImageSelection	@	workbench.desktop.main.js:3746
getConversationHistory	@	workbench.desktop.main.js:3748
await in getConversationHistory (async)		
makeChatRequestParams	@	workbench.desktop.main.js:4427
submitUnifiedChat	@	workbench.desktop.main.js:4428
submitChat	@	workbench.desktop.main.js:4427
Be	@	workbench.desktop.main.js:4426
Le	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
ae	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
handleSubmit	@	workbench.desktop.main.js:4195
(anonymous)	@	workbench.desktop.main.js:4197
ls	@	workbench.desktop.main.js:502
(anonymous)	@	workbench.desktop.main.js:502
vs	@	workbench.desktop.main.js:502
ss	@	workbench.desktop.main.js:502
update	@	workbench.desktop.main.js:497
ls	@	workbench.desktop.main.js:502
_i	@	workbench.desktop.main.js:502
K	@	workbench.desktop.main.js:499
(anonymous)	@	workbench.desktop.main.js:499
workbench.desktop.main.js:3012 Error: Unable to read file 'c:\My Synology Drive\dev\tcgscan\debug_output\3_extracted_card.jpg' (Error: Unable to resolve nonexistent file 'c:\My Synology Drive\dev\tcgscan\debug_output\3_extracted_card.jpg')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 1)
console.error	@	workbench.desktop.main.js:3012
I	@	workbench.desktop.main.js:2989
await in I (async)		
resizeImage	@	workbench.desktop.main.js:3746
(anonymous)	@	workbench.desktop.main.js:3746
getImagesFromImageSelection	@	workbench.desktop.main.js:3746
getConversationHistory	@	workbench.desktop.main.js:3748
await in getConversationHistory (async)		
makeChatRequestParams	@	workbench.desktop.main.js:4427
submitUnifiedChat	@	workbench.desktop.main.js:4428
submitChat	@	workbench.desktop.main.js:4427
Be	@	workbench.desktop.main.js:4426
Le	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
ae	@	workbench.desktop.main.js:4426
onSubmit	@	workbench.desktop.main.js:4426
handleSubmit	@	workbench.desktop.main.js:4195
(anonymous)	@	workbench.desktop.main.js:4197
ls	@	workbench.desktop.main.js:502
(anonymous)	@	workbench.desktop.main.js:502
vs	@	workbench.desktop.main.js:502
ss	@	workbench.desktop.main.js:502
update	@	workbench.desktop.main.js:497
ls	@	workbench.desktop.main.js:502
_i	@	workbench.desktop.main.js:502
K	@	workbench.desktop.main.js:499
(anonymous)	@	workbench.desktop.main.js:499
ļ»æ

06) Logs

The only log that changes when I press enter on that chat is

window1/renderer.log

2024-10-28 16:33:54.352 [error] args is not defined: ReferenceError: args is not defined
    at setContext (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3748:12624)
    at s.F (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3748:1971)
    at s.removeContext (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3748:1533)
    at P (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3746:12706)
    at I (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:2989:65611)
    at async Promise.all (index 0)
    at async s.getImagesFromImageSelection (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3746:12611)
    at async Promise.all (index 4)
    at async N.getConversationHistory (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:3748:12849)
    at async Pe.makeChatRequestParams (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4427:11650)
    at async Pe.submitUnifiedChat (vscode-file://vscode-app/c:/Users/schin/AppData/Local/Programs/cursor/resources/app/out/vs/workbench/workbench.desktop.main.js:4428:4053)

Also experiencing this in my Nuxt/Vue project on MacOS. No feedback when I hit return. I can edit the message, but canā€™t submit. Other projects work fine. Getting these three errors in dev tools console:

Not sure what the first error is about, but the second two seem to come from some screenshots that are no longer there.

workbench.desktop.main.js:3012 ERROR WHEN RENDERING SOLID COMPONENT Error: Unable to read file '/Users/trav/Websites/craft-starters/nuxt-starter' (Error: Unable to read file '/Users/trav/Websites/craft-starters/nuxt-starter' that is actually a directory)
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async v.M (workbench.desktop.main.js:3118:35652)
    at async v.readStream (workbench.desktop.main.js:3118:35409)
    at async D.Db (workbench.desktop.main.js:3107:11315)
    at async D.resolve (workbench.desktop.main.js:3107:9727)
    at async s.W (workbench.desktop.main.js:3118:31713)
    at async r (workbench.desktop.main.js:3107:24455)
workbench.desktop.main.js:3012 Error: Unable to read file '/Users/trav/Library/Application Support/Cursor/User/workspaceStorage/images/0.8236826273396323-CleanShot 2024-10-25 at 13.31.32@2x.png' (Error: Unable to resolve nonexistent file '/Users/trav/Library/Application Support/Cursor/User/workspaceStorage/images/0.8236826273396323-CleanShot 2024-10-25 at 13.31.32@2x.png')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 0)
    at async s.getImagesFromImageSelection (workbench.desktop.main.js:3746:12611)
    at async Promise.all (index 4)
    at async N.getConversationHistory (workbench.desktop.main.js:3748:12849)
    at async Pe.makeChatRequestParams (workbench.desktop.main.js:4427:11650)
    at async Pe.submitUnifiedChat (workbench.desktop.main.js:4428:4053)
workbench.desktop.main.js:3012 Error: Unable to read file '/Users/trav/Library/Application Support/Cursor/User/workspaceStorage/images/0.8689926584560355-CleanShot 2024-10-25 at 13.31.54@2x.png' (Error: Unable to resolve nonexistent file '/Users/trav/Library/Application Support/Cursor/User/workspaceStorage/images/0.8689926584560355-CleanShot 2024-10-25 at 13.31.54@2x.png')
    at a.F (workbench.desktop.main.js:1137:25392)
    at a.C (workbench.desktop.main.js:1137:25185)
    at async a.z (workbench.desktop.main.js:1137:24497)
    at async I (workbench.desktop.main.js:2989:65545)
    at async Promise.all (index 1)
ļ»æ


Hmm, did you ever put images into the context manually? and then delete those images later?

The error indicates that the system canā€™t find or read the files at the specified path: c:\My Synology Drive\dev\tcgscan\debug_output\2_detected_bounds.jpg and 3_extracted_card.jpg.

Try clearing the cache using this guide:

@kryq7ik @louderthan10

You should try clearing the cache using the guide I posted above too.

I am having the same issue where the chat is unresponsive, I cleared temp files

1 Like

scenario in which it happens is you paste screenshot from buffer, then after you reopen cursor they will be gone. maybe only after reboot. and on next run when you open same project it will get errors coz screenshots added from buffer (win+shift+s ctrl+v or in similar way) are gone.
since chat in cursor can use buffer would be good if it handled such scenarios

to solve issue you can go through all your chat manually deleting screenshots where they ve been added.

1 Like

Unresponsive chat. New chat works.

How do I migrate the lessons learned from my old chat to new?

How about the ability to save an entire chat to an MD file?

Copying a chat is not feasible.

i have been getting this issue alot. Iā€™ve had to just summarize entire chats and paste into a new chat. That is the only solution Iā€™ve found. Not really a ā€œsolutionā€, persay. I donā€™t know Iā€™ve had issues on my home workstation. However, Iā€™ve certainly had issues with my work laptop, an Apple MacBook Air. It happens pretty often, and I havenā€™t seen anyone else mention this issue online recently, so I thought it may have just been due to the length of my chats or because I would attach 8-10 files sometimes in chat context every message throughout the chat.

Iā€™m not sure what context is helpful; Iā€™m mostly working on WordPress websites and editing theme files in the cursor tool. Mostly PHP, but some JS and SCSS files, too. Pro subscription. I have turned on these specific models: Claude (all), cursor-small, GPT-40, 01-mini, 01-preview. Currently, Iā€™m getting ā€˜unable to reach anthropicā€™; however, thatā€™s a different issue for a different thread.

i have same issue too , When I finished some work, turned it off and opened it again the next day for a conversation, the conversation didnā€™t respond

It seems youā€™re facing context window overflow. I recommend using models with a long context window or breaking the project into smaller tasks. If you add the previous chat to the context, remember that it also takes up space, as do all your files. Sometimes itā€™s easier to start from scratch but give the model the right prompt to keep it informed.

1 Like

Hey, I am having the same issue. my current chat has the complete memory about my project and i dont want to lose it .

The issue is it just showing those 3 dots as it is generating the response but at the end it just kept me waiting and doesnā€™t provide any answer.

Note that it is responding for the new chat.

1 Like

Same problem here!

Version: 0.43.5

VSCode Version: 1.93.1

Commit: 2eaa79a1b14ccff5d1c78a2c358a08be16a8e5a0

Date: 2024-11-27T09:11:51.854Z (4 days ago)

Electron: 30.5.1

Chromium: 124.0.6367.243

Node.js: 20.16.0

V8: 12.4.254.20-electron.0

OS: Darwin arm64 22.4.0

I had the same issue when adding a screenshot directly in my prompt. I was able to resolve this by removing the image from the context of the prompt I included it in (the file was deleted already because it was just a screenshot, I didnā€™t save it anywhere). You can do this by scrolling back to said prompt, clicking on the image icon in the context list and clicking the x.
I imagine this could happen with other files as well if Cursor doesnā€™t notice them being deleted or moved.

2 Likes