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

openai migrate error Failed to download Gritcli from #576

Closed
olebrussels opened this issue Nov 14, 2024 · 2 comments
Closed

openai migrate error Failed to download Gritcli from #576

olebrussels opened this issue Nov 14, 2024 · 2 comments

Comments

@olebrussels
Copy link

hello team, i am having an issue and i need your help because i dont find any solution to this problem.
I am trying to use openai.ChatCompletion.create( to call openai api. but this is no longer supported in openai>1.0

I did pip install --upgrade openai and openai migrate in my python venv installed on an ubuntu 20.04
but i get an error message when running my "openai migrate"

Downloading Grit CLI from https://github.com/getgrit/gritql/releases/latest/download/marzano-x86_64-unknown-linux-gnu.tar.gz Error: Failed to download Grit CLI from https://github.com/getgrit/gritql/releases/latest/download/marzano-x86_64-unknown-linux-gnu.tar.gz

can somebody tell me a hint on how to solve this? thank you!

@morgante
Copy link
Contributor

You can try installing the Grit CLI directly: https://docs.grit.io/cli/quickstart

Then just run grit apply openai.

@morgante
Copy link
Contributor

Closing this since there's already an issue on the openai repo: openai/openai-python#1838

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

No branches or pull requests

2 participants