Skip to content

Dependency versions #7

@tm-a-t

Description

@tm-a-t

I guess setup.py misses specified version of dependencies. I installed Hey with pipx and got invalid version of open-ai library.

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 `openai migrate` to automatically upgrade your codebase to use the 1.0.0 interface. 

Alternatively, you can pin your installation to the old version, e.g. `pip install openai==0.28`

Manual installation helped:

pipx inject hey-gpt openai==0.28

By the way, the project looks awesome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions