HYBIM-1011 Upgrade openai to 3.x.x(BLOCKED) - #238
Open
ridhima-splunk wants to merge 3 commits into
Open
Conversation
poetry.lock regeneration blocked by litellm conflict
This means
What was fixed in this PR:
CI failures are solely due to the stale |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Before PR changes trace
After trace
What was successfully removed: litellm as an explicit dependency — from handler.py, [project.optional-dependencies], and [tool.poetry.dependencies]. Token counts continue to work via LLMCallCompletedEvent on the crewai event bus.
What is still blocked: poetry lock cannot succeed because crewai (any version through 0.203.2 and 1.x) transitively depends on instructor, which requires openai <3.0.0. Poetry 2.x resolves all optional extras together so the conflict is
unavoidable in a single lockfile.
Root cause: instructor hasn't released support for openai 3.x yet. Until it does, openai 3.x and crewai cannot share a poetry.lock. This is an upstream ecosystem issue — nothing we can change in this repo today will resolve it.