openai-agents 0.13.x Silently Dropped openai v1 Support
The latest version of openai-agents (0.13.2) has dropped support for the older openai v1 library, causing issues for projects that were using the v1 version.
Why it matters
This change in openai-agents can cause disruptions for projects still using the older openai v1 library, requiring code updates to migrate to the new v2 API.
Key Points
- 1openai-agents 0.13.2 now requires openai>=2.26.0, dropping support for openai v1.x
- 2This breaks projects that have pinned openai==1.x.x or openai<2 in their dependencies
- 3The openai v2 library restructured the client API significantly, requiring code changes
Details
The openai-agents 0.13.2 release silently dropped support for the older openai v1 library, instead requiring openai>=2.26.0. This is problematic for projects that have pinned openai to a v1.x version or are using openai<2 in their dependencies. Running 'pip install openai-agents --upgrade' in these environments will either fail due to a conflict or force the openai library to upgrade to v2.x, where the client-side code may break due to the significant API restructuring that happened in the v2 release. Developers need to be aware of this change and update their code accordingly to use the new openai v2 API pattern.
No comments yet
Be the first to comment