getcursor / cursor

The AI-powered code editor
https://cursor.sh
20.57k stars 1.38k forks source link

Cursor 0.33.1 doesn't store my OpenAI API key any more? #1440

Closed chrisk477 closed 1 month ago

chrisk477 commented 1 month ago

Currently I get an error each time I restart Cursor (even though I generated a new "project" OpenAI API key).

Soooo, is this a way to tell me to either subsribe to Cursor Pro or to leave?

truell20 commented 1 month ago

API keys are definitely supported and if there's a problem we'd certainly want to fix.

I'm having a hard time reproducing on my end. To help us figure out what's going on, can you verify that your API key is properly set in settings and that making some basic cURL request with it outside of Cursor works?

truell20 commented 1 month ago

Also, are you doing anything special like overriding the openai baseurl?

chrisk477 commented 1 month ago

Sorry if I sounded snarky in my original message. In the last few days, I generated multiply API keys, pasted them in the settings dialog, successfully verified them and then got an error message after the next restart of Cursor. Now, when I tried it a few minutes ago, it worked fine after a restart and even after a sytem restart. Maybe it's just something with my system or a server timeout or something like that.