Files
crewAI/lib/crewai/pyproject.toml
Devin AI 21ebc01e9d fix: relax openai dependency constraint to allow OpenLit integration
The openai dependency was constrained to ~=1.83.0 which only allows
versions >=1.83.0,<1.84.0. This prevented integration with OpenLit
which requires openai >= 1.92.0.

Changed the constraint to >=1.83.0,<2 to:
- Allow OpenLit and other integrations that need newer openai versions
- Prevent potential breaking changes from openai 2.x

Added tests to verify the constraint allows OpenLit-compatible versions
while maintaining an upper bound for stability.

Fixes #4270

Co-Authored-By: João <joao@crewai.com>
2026-01-23 10:16:32 +00:00

2.9 KiB