coderabbitai / ai-pr-reviewer

AI-based Pull Request Summarizer and Reviewer with Chat Capabilities.
https://coderabbit.ai
MIT License
1.41k stars 258 forks source link

Rate limits #451

Closed hvitis closed 9 months ago

hvitis commented 10 months ago

Hello,

I have a prepaid version of ChatGPT and installed the script from the install README. The error I am getting is this:

backtrace: Error: OpenAI error 429: {
    "error": {
        "message": "Rate limit reached for default-gpt-3.5-turbo in organization org-tWLJpza6PfFNRXgGrT00shKI on tokens per min. Limit: 60000 / min. Please try again in 1ms. Contact us through our help center at help.openai.com if you continue to have issues.",
        "type": "tokens",
        "param": null,
        "code": "rate_limit_exceeded"
    }
}
    at Promise.then.promptTokens (/home/runner/work/_actions/coderabbitai/ai-pr-reviewer/latest/dist/index.js:3310:29)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
response: undefined

It seems that I have exceeded the limit but their RPM is pretty high. How is it possible? Anybody found a similar issue?

hvitis commented 9 months ago

If you don't know what the problem is it's probably money. Paying 5 bucks helped (even tho I had 5$ credit)