-
Notifications
You must be signed in to change notification settings - Fork 599
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
Merge branch 'main' of https://github.com/ryanzll/pr-agent #1332
Conversation
update openai api
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨Explore these optional code suggestions:
|
What is the goal of this PR ? What does it aim to improve ? |
Old code in openai_ai_handler.py can not work in my computer, and after updating openai sdk and openai_ai_handler, it works. BTW: The api of openai is changed, hope can be integrated soon. |
Thanks @ryanzll A small tip for the future - share as much information as possible when you open a PR in an open source repo.
->
|
Sorry for not provide enough information, i will improve next time. |
User description
update openai api
PR Type
enhancement, bug fix
Description
AsyncOpenAI
for asynchronous operations.TryAgain
exception from the retry mechanism to streamline error handling.Changes walkthrough 📝
openai_ai_handler.py
Update OpenAI API integration and error handling
pr_agent/algo/ai_handlers/openai_ai_handler.py
AsyncOpenAI
.TryAgain
exception from retry decorator.