Closed guotingchao closed 1 year ago
You exceeded your current quota, please check your plan and billing details.
The error is openAI response. I'm also pretty sure it can work ~ Please check your API key billing details:
I just experienced this issue after setting up a fresh API key with 0 usage.
@AugusDogus
I just experienced this issue after setting up a fresh API key with 0 usage.
The error message is from OpenAI. please try a mini example by curl
command: https://platform.openai.com/docs/quickstart/step-3-sending-your-first-api-request
Just tested and everything works fine.
Thanks for taking a look @Zhengqbbb; after further investigation this was because I did not have a paid plan and misunderstood the usage limits for a free account.
TL;DR: You need to upgrade to a paid plan. Set up a paid account, add a credit or debit card, and generate a new API key if your old one was generated before the upgrade. It might take 10 minutes or so after you upgrade to a paid plan before the paid account becomes active and the error disappears.
Relevant stackoverflow.
Might be worth noting this in the readme - I'm happy to open a PR if you think this would be useful.
β Checklist
π System Info
π Description
Concise Description
Using czg CLi in my git repository folder path, the czg ai command does not work.
Expected behavior
I'm pretty sure I still have a balance of about $17 in my account, and I haven't made any calls recently, and api key is rebound.
Steps to reproduce
$> czg ai
Error Message
π Reproduction link / repo:
No response