Skip to content

Dependency constraint blocks upgrade to openai>=2.0 #1867

@aprendendo-codex

Description

@aprendendo-codex

Describe the bug

Currently, installing or upgrading openai-agents (v0.3.3) forces pip to downgrade the openai SDK from 2.x to the latest 1.x release (1.109.1).

Repro steps

$ pip install --upgrade openai openai-agents

Expected behavior

The latest versions of openai and openai-agents are expected to be mutually compatible.

As new features were launched on devday like chatkit, we require the newer version of the openai sdk in order to have access to them.

But the agents sdk is currently incompatible with them.

Example of why this is necessary:

# this is not compatible with openai 1.109.1
ck = client.beta.chatkit.sessions.create(workflow={'id':'xxxxxxx'}, user='user')

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions