Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected high bill #70

Open
Stas-Buzunko opened this issue Jun 25, 2024 · 1 comment
Open

Unexpected high bill #70

Stas-Buzunko opened this issue Jun 25, 2024 · 1 comment

Comments

@Stas-Buzunko
Copy link

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`
Screenshot 2024-06-25 at 3 29 56 PM
@Stas-Buzunko
Copy link
Author

There were only 30 runs in the last 4 days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant