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

Migrate to the latest openAI version #397

Merged
merged 7 commits into from
Apr 16, 2024
Merged

Migrate to the latest openAI version #397

merged 7 commits into from
Apr 16, 2024

Conversation

saum7800
Copy link
Collaborator

Description

  • ran the openai migrate script
  • made migrations as per litellm breaking changes in new version
  • tested the single generate function

This is high priority since the old versions of openai and litellm mean that users cannot use latest models like gpt-4-turbo since litellm is not able to map model name in such cases. Additionally, having a really old pinned version for both libraries will lead to further issues in the future.

References

@saum7800 saum7800 requested review from viswavi and neubig April 16, 2024 03:19
Copy link
Collaborator

@viswavi viswavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!!! Thank you for making this change

@neubig neubig merged commit 04debc9 into main Apr 16, 2024
8 checks passed
@neubig neubig deleted the saumya_openai_version branch April 16, 2024 12:08
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.

3 participants