-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
openai migration error #1876
Comments
Can you try installing the Grit CLI from npm? https://docs.grit.io/cli/quickstart#installation Then you can run |
me aparece el sig. error: You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API. You can run A detailed migration guide is available here: #742 |
@RobertCraigie Is it correct way to define the client and aclient instead of globally? |
you'll need to replace any reference to |
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
I want to migrate my code for the openai = 1.54.4 version.
But got the below error when I run the "openai migrate" command in linux environment.
Error:
Error: Failed to download Grit CLI from https://github.com/getgrit/gritql/releases/latest/download/marzano-x86_64-unknown-linux-gnu.tar.gz
To Reproduce
error picture have attached:
Code snippets
No response
OS
Linux 20.04 LTS
Python version
Python 3.9.12
Library version
openai 1.54.4
The text was updated successfully, but these errors were encountered: