Open AI API Keys
Hey everyone, It seems like that inference only works with the depreceated "User API Keys" and not the new "Project API Keys" ? I only could get inference running after swithcing out the key. Otherwise I got 429 "You exceeded your current quota" errors. Anyone else had the same problem?
You're not the first one to report this problem. Will look into it, thanks for the report!
Hello! I got the same error when first setting up, but creating a new project in OpenAI and a new key in this project fixed it for me. Can it be some kind of limitation of the default project?
Same issue here still present in V18, i can;t get it to work with any API type.
Hello! I got the same error when first setting up, but creating a new project in OpenAI and a new key in this project fixed it for me. Can it be some kind of limitation of the default project?
thanks, that worked for me aswell
I'm having the same issue, creating a new project did not fix it for me.
Having the same issue as well, created a new project and new API key but didn't have any luck. I am new to OpenAI and I don't know how to set it up for the proper model though, so that might be on me.
@85elcamino & @TechnoMaverick did you add funds to your OpenAI account?
@MohamedBassem Thank you! I didn't realize how the funding worked, the pages setup on the OpenAI website are confusing.
I don't know if this is the right place to ask, but is it possible to change the default OpenAI prompt in the Hoarder app? I wanted to take some stuff out.
Thank you for the excellent app!
@TechnoMaverick you can't take stuff out but you can add more rules in the AI settings page.
@MohamedBassem Alrighty! Thank you.
I hit this issue as well, tried to create a new project and added funds to my account. But it still gives the same error message.
Any idea how to fix or debug this further?
I hit this issue as well, tried to create a new project and added funds to my account. But it still gives the same error message.
Any idea how to fix or debug this further?
Tried the same again this morning by creating a new key and replacing the old one. I suspect I had not properly reloaded my docker stack...
@jakob1379 so it worked?
Yes.
For me, adding an explicit ENV VARIABLE like this worked. INFERENCE_TEXT_MODEL: gpt-4o-mini-2024-07-18 INFERENCE_IMAGE_MODEL: gpt-4o-mini-2024-07-18 By default, the web container was erroring out saying the project prj_xxx does not have access to gpt-4o-mini model. I use the Project API Keys and not the legacy ones.
It worked for me with the default project, but I needed to create a new key on https://platform.openai.com/api-keys after I added funds to my account, the old key (same settings) was still returning 429s.
What @faximan did worked for me. I also had to delete my OpenAI API key that I created before adding funds to my account and recreate it.
At this point, I don't think we have a bug in OpenAI API key handling. So closing this issue.