Skip to content

Downgrading OpenAI to Version 0.28 or Below for Compatibility #18

@ryan-minato

Description

@ryan-minato

OpenAI has updated their API, and the openai.error.OpenAIError no longer exists. You need to modify it to openai.OpenAIError for the code to work. However, making this change will trigger a warning, which recommend to downgrade the version to below 0.28.

AttributeError: module ‘openai’ has no attribute ‘error’

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions