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

Pin OpenAI package to 0.28 version or update codebase for openai>=1.0.0 #336

Open
indcoder opened this issue Mar 11, 2024 · 4 comments
Open

Comments

@indcoder
Copy link
Contributor

Describe the bug
We need to either pin the openai python package to 0.28 or update the Python codebase to work with openai>=1.0.0

image

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Copy link

👋 Thanks for contributing @indcoder! We will review the issue and get back to you soon.

@koreyspace
Copy link
Collaborator

Great point @indcoder , before I change this, I wanted to see if you would like to create a PR for this yourself?

@indcoder
Copy link
Contributor Author

Hi @koreyspace . Perhaps we have to split this in two PRs:

  1. Immediate PR so as to not disrupt any ongoing bootcamps: Pin the OpenAI dependency to 0.28 so that existing code does not break.
  2. Detailed PR: Update the requirement to openai>=1.0.0 and verify all the Python across the 18 lessons work with this update. This will also have to be done in conjunction w/ Mismatch in environment keys #335

Copy link

This issue has not seen any action for a while! Closing for now, but it can be reopened at a later date.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants