Comments (7)
@lfsevergnini model gpt-4 is not really available still. Waitlist can be checked here:
@villesau May I suggest the fix by changing the model only, for the ones still not blessed by OpenAI with access to the model 4?
main.ts:137
model: "gpt-3.5-turbo", //gpt-4 is not available in my account
from ai-codereviewer.
Feel free to submit a PR that passes the model name as a parameter :)
from ai-codereviewer.
For reference, here's my .yml file:
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: freeedcom/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
from ai-codereviewer.
@teobaiocco just FYI, that seems to no longer be the problem. After I created this issue, OpenAI released gpt-4
to everybody.
A wrong model type will definitely throw a 404, but hitting the API using Postman results in a 200 OK. 🤔
from ai-codereviewer.
Ok, I think I found what the problem is but still don't know how to solve it 🤔
My repository is private and it seems that Octokit isn't using the GitHub token to fetch the diff_url
from the PR.
from ai-codereviewer.
@villesau I opened a PR that adds support to private repositories. Feel free to add feedback.
I've already merged this in my fork project so that I don't get blocked, so no need to rush.
Thanks all.
from ai-codereviewer.
Thanks for the contribution! I merged the changes.
from ai-codereviewer.
Related Issues (20)
- write-all permission HOT 3
- GITHUB_TOKEN HOT 3
- Possibility of adding workflow_dispatch event support? HOT 4
- Workflow failed HOT 14
- Github action fails for lage PRs HOT 4
- Workflow Fails [Resource not accessible by personal access token] HOT 2
- Can't find 'action.yml', 'action.yaml' or 'Dockerfile' for action HOT 1
- facing 404 error in https://api.openai.com/v1/chat/completions api , open api key is added in git hub secret , do i need to pay in open api
- Page not found
- Configuring custom rules HOT 4
- Error: RequestError [HttpError]: Unprocessable Entity: "Pull request review thread path is invalid and Pull request review thread diff hunk can't be blank" HOT 4
- how to change the language of comments?
- Azure GPT support HOT 3
- Multiple comments? HOT 1
- Security: Cookie is exposed
- Is it possible to use this action in Github Enterprise?
- JSON failure w/gpt-4-0125-preview. HOT 8
- Any blogs / examples / evaluations HOT 2
- Reviewer name
- Add support for GPT-4o
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai-codereviewer.