openai-python icon indicating copy to clipboard operation
openai-python copied to clipboard

Version argument missing

Open joqim opened this issue 1 year ago • 2 comments

Describe the feature or improvement you're requesting

CLI is missing a version argument.

openai --version would be a nice improvement

Additional context

No response

joqim avatar Mar 10 '23 06:03 joqim

@FizzyAgent thank you for looking into it. I wanted to test this locally but couldn't find necessary documentation.

Is there any way you can guide me?

joqim avatar Mar 13 '23 09:03 joqim

@joqim here's how you can test it locally:

  1. clone my forked repo and setup your choice of environment (conda, venv, etc)

  2. to build locally, I used pip

pip install .
  1. make sure you are running the correct openai package
which openai
# should show directory to your environment, else try uninstalling and rebuilding
  1. run the openai command
openai --version

tanpinxi avatar Mar 14 '23 13:03 tanpinxi

Marking this fixed since the #298 has been merged in

hallacy avatar Mar 30 '23 04:03 hallacy