-
Notifications
You must be signed in to change notification settings - Fork 739
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
Add new GPT-4o models and update tiktoken to 0.7.0 #901
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Description updated to latest commit (36ad893)
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Review 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is recommended to update the content of the doc synchronously?
Would you pls assist me with where I can update the doc for those new models? I can't find it out |
I understand that updating here is enough, but let's still listen to @mrT23 advice. 🤝 |
cool! |
Thanks @KennyDizi Currently, it's just an option, but it's definitely a strong candidate to become the default model in the near future. |
Thanks, @mrT23 gpt-4o model made a new standard; we're looking for your benchmark. |
I tried to use gpt-4o as my model and I encountered this error. I am running it in Github Action My github action yml file: jobs:
pr_agent_job:
runs-on: ubuntu-latest
if: |
(github.event_name == 'pull_request') ||
(github.event_name == 'issue_comment' &&
github.event.issue.pull_request &&
contains(github.event.comment.body, '/review'))
permissions:
issues: write
pull-requests: write
contents: write
name: Run pr agent on pull requests and respond to '/review' comments
steps:
- name: PR Agent action step
id: pragent
uses: Codium-ai/pr-agent@main
env:
CONFIG.MODEL: gpt-4o-2024-05-13
PR_REVIEWER.INLINE_CODE_COMMENTS: true
PR_REVIEWER.PERSISTENT_COMMENT: false
PR_REVIEWER.NUM_CODE_SUGGESTIONS: 8
OPENAI_KEY: ${{ secrets.OPENAI_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Am I missing anything? Edit: I also try using |
You have to install the tiktoken v0.7.0 to use new model. |
@vKongv |
works now
…On Tue, 14 May 2024 at 19:13, Tal ***@***.***> wrote:
@vKongv <https://github.com/vKongv>
i only now updated the dockers. try again
—
Reply to this email directly, view it on GitHub
<#901 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACC2Z54EOUNIRT2FJ7XKRJTZCHWXHAVCNFSM6AAAAABHVG2A5KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBZHEZTEOBQG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@KennyDizi the model does look strong (and fast). |
The speed is 2x faster, and the price is only 50% of the original. |
@barnett-yuxiang i understand, and will probably use it as the default model in the near future. But:
Ping me in a week or so if the base model was not switched :-) |
Oh, @mrT23 , I understand your expression very well, and if it were me, I would also make decisions like you. Our thoughts are the same. |
Type
enhancement
Description
Changes walkthrough
__init__.py
Add new GPT-4o models
pr_agent/algo/init.py
models
requirements.txt
Update tiktoken to 0.7.0
requirements.txt