anc95 / ChatGPT-CodeReview

🐥 A code review bot powered by ChatGPT
https://github.com/apps/cr-gpt
ISC License
3.78k stars 361 forks source link

The 429 too many request error #46

Closed tmdrb278 closed 1 year ago

tmdrb278 commented 1 year ago

The 429 too many request error appears in the open api, is it a bug? Or should I use the paid version? this is error code

Error: OpenAI error 429: {
        "error": {
            "message": "You exceeded your current quota, please check your plan and billing details.",
            "type": "insufficient_quota",
            "param": null,
            "code": null
        }
    }
        at /home/runner/work/_actions/anc95/ChatGPT-CodeReview/main/action/index.cjs:153249:29
        at processTicksAndRejections (node:internal/process/task_queues:96:5)
{

this is my yml code

name: Code Review

permissions:
  contents: read
  pull-requests: write

on:
  pull_request:
    types: [opened, synchronize]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: anc95/ChatGPT-CodeReview@main
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
          LANGUAGE: Korean
          MODEL: gpt-3.5-turbo
          top_p: 1
          temperature: 1
anc95 commented 1 year ago

@tmdrb278 It's not bug, you can https://platform.openai.com/account/usage check this link to see the usage

NeatKYU commented 1 year ago

@anc95 Thank you for your answer. Is this how it works? The review of the change was not written. image

bfrontend commented 1 year ago

It's out of money 这是没钱了呀

tmdrb278 commented 1 year ago

yes this problem is out of money after sign up other id and success!!