ai-codereviewer
ai-codereviewer copied to clipboard
Unexpected high bill
We are a small team of three developers.
OpenAI charged us $62 CAD just in the last three days. Initially, I thought this was caused by some issues with package-lock.json, but JSON files are excluded. How can we resolve this?
here is our config `name: AI Code Reviewer
on: pull_request: types: - opened - synchronize permissions: write-all jobs: review: runs-on: ubuntu-latest steps: - name: Checkout Repo uses: actions/checkout@v3
- name: AI Code Reviewer
uses: our-team/ai-codereviewer@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: 'gpt-4' # Optional: defaults to "gpt-4"
exclude: '**/*.json, **/*.md' # Optional: exclude patterns separated by commas`