cursor icon indicating copy to clipboard operation
cursor copied to clipboard

Cursor (v 0.1.12) with OpenAI API key not responding on Mac M2

Open Deep0Thinking opened this issue 2 years ago • 9 comments

Mac M2 (13.2.1) , Cursor v 0.1.12

Cursor is not responding after I inputted my OpenAI API key in the setting and asked it for generating contents (neither ⌘K nor ⌘L worked) (it just kept loading all the time):

Deep0Thinking avatar Mar 30 '23 20:03 Deep0Thinking

Same to me in win11

Microbion avatar Apr 01 '23 01:04 Microbion

In my case when I used the OpenAI key that has no remaining quota or token I could reproduce this. When this happens, the response in the code snippet provided at https://github.com/getcursor/cursor/blob/main/src/features/chat/chatThunks.ts#L610 will look like this:

data: ""
data: "\n"
data: "edit"
data: "\n"
data: ""
data: "\n"
data: ""
data: "\n"
data: [DONE]

However, even though resp.status is still 200. I suspect that this is causing the application to become unresponsive.

arunkumar1997 avatar Apr 01 '23 17:04 arunkumar1997

same to me in win11

cs-fisha avatar Apr 05 '23 02:04 cs-fisha

same to me in win10

Ha0ran2001 avatar Apr 05 '23 05:04 Ha0ran2001

also in mac m1

LHC8888 avatar Apr 07 '23 02:04 LHC8888

Still not working. Version: 0.2.2 Commit: e8b34ac28f297eb86df40a0545ee06519b653263 Date: 2023-04-07T23:36:06.588Z Electron: 19.1.9 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: 10.2.154.15-electron.0 OS: Windows_NT x64 10.0.19045 Sandboxed: No

Ha0ran2001 avatar Apr 10 '23 09:04 Ha0ran2001

因为openai免费的key已经用不了了

Charry0520 avatar Apr 17 '23 02:04 Charry0520

因为openai免费的key已经用不了了

啥意思,只能是plus用户的key才能用?

Ha0ran2001 avatar Apr 17 '23 03:04 Ha0ran2001

Hey! Closing this out because I believe API key support has been stable in Cursor for a while.

If you run into any problems and these guidelines don't work, please open a new issue!

truell20 avatar Aug 23 '23 18:08 truell20