mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
Fixes #4079 The openai version constraint was pinned to ~=1.83.0 (>=1.83.0,<1.84.0), which prevented installation alongside litellm[proxy]>=1.74.9 that requires openai>=2.8.0. Changes: - Updated openai constraint from ~=1.83.0 to >=1.83.0,<3 - Added tests to verify the constraint allows openai 2.8.0 - Added import smoke tests for OpenAI provider compatibility The new constraint: - Maintains backward compatibility with openai 1.83.x - Allows openai 2.x for users who need litellm[proxy] - Caps at <3 to prevent future breaking changes Verified that all OpenAI SDK imports used by crewAI's OpenAI provider work correctly with openai 2.8.0. Co-Authored-By: João <joao@crewai.com>