-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Closed as not planned
Description
Confirm this is an issue with the Python library and not an underlying OpenAI API
- This is an issue with the Python library
Describe the bug
The command grit apply openai
gets stuck when executed in a folder containing 1 Python file. Its progress was stuck at:
Your working tree currently has untracked changes and Grit will rewrite files in place. Do you want to proceed? yes
Analyzing Finding files
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 0/1
It is stuck for an hour but no error is found.
To Reproduce
Using Ubuntu 22.04 LTS
- Install the latest version of
openai
viapip
:pip install openai --upgrade
- Install grit via:
curl -fsSL https://docs.grit.io/install | bash
and add the newly installedgrit
to system path - Navigate to the code folder, execute
grit apply openai --verbose
- Here is the output:
Your working tree currently has untracked changes and Grit will rewrite files in place. Do you want to proceed? yes
Analyzing Finding files
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 0/1
I first used: openai migrate
but ended up in error:
$ 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
Code snippets
No response
OS
Ubuntu 22.04 LTS
Python version
Python 3.10.12
Library version
openai v1.52.2
Metadata
Metadata
Assignees
Labels
No labels