Skip to content

Support openai version 2 #60

@adubovik

Description

@adubovik

It should amount to a one-line fix:

dependencies = [
-    "openai>=1.1.0,<2.0.0",
+    "openai>=1.1.0,<3.0.0",
    "httpx>=0.25.0,<1.0",
    "pydantic>=1.10,<3",
    "aiofiles>=0.5.0",
]

since breaking changes introduced by v2 was minimal.

We should make sure that all tests are run against two major versions of openai package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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