davidfant/terminal-x

API quota exceeded

Opened this issue · 0 comments

I get this error every time i try using x:

✖ StatusCodeError: 429 - {"error":{"message":"You exceeded your current quota, please check your plan and billing details.","type":"insufficient_quota","param":null,"code":null}}

I have my own OpenAI API key, so one solution would be just to look for the OPENAI_API_KEY env variable and if it's present, pass all the billing-related stuff onto the user.