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

🔒 chore(deps): update openai version to 1.10.0 #128

Merged
merged 1 commit into from
Feb 4, 2024
Merged

🔒 chore(deps): update openai version to 1.10.0 #128

merged 1 commit into from
Feb 4, 2024

Conversation

Paillat-dev
Copy link
Contributor

@Paillat-dev Paillat-dev commented Feb 3, 2024

Proposed changes

Adapt code to work with openai's new library, with the goal of being able to use new models in the future (Openai checks in a hardcoded list the validity of a given model, so even if the model is out the library will raise an error).

Types of changes

What types of changes does your code introduce to this project?
Put an x in the boxes that apply 😄🚀

  • Bugfix (non-breaking change which fixes an issue) 🐛
  • New feature (non-breaking change which adds functionality) ✨
  • Breaking change (fix or feature that would cause existing functionality to not work as expected) 💥
  • Documentation Update (if none of the other choices apply) 📖

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • I have read the CONTRIBUTING.md 📚
  • I have added tests that prove my fix is effective or that my feature works ✅✔️
  • I have added necessary documentation (if appropriate) 📝

Copy link

vercel bot commented Feb 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
short-gpt-dcs ⬜️ Ignored (Inspect) Visit Preview Feb 4, 2024 9:41am

🐛 fix(gpt_utils): update openai.ChatCompletion.create() method to openai.chat.completions.create() for compatibility with the latest version of the OpenAI API
@RayVentura RayVentura merged commit aa8f834 into RayVentura:stable Feb 4, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants