Commit Graph

2 Commits

Author SHA1 Message Date
Devin AI
5644211c2a fix: use tomli for Python 3.10 compatibility in tests
tomllib is only available in Python 3.11+, so we need to use tomli
as a fallback for Python 3.10.

Co-Authored-By: João <joao@crewai.com>
2026-01-23 10:24:35 +00:00
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