fix(deps): update dependency openai to v2#2732
Merged
Conversation
964bb85 to
4a00c27
Compare
730978e to
973444a
Compare
126b80c to
355d830
Compare
97f3261 to
c193056
Compare
OpenAPI ChangesShow/hide No detectable change.Unexpected changes? Ensure your branch is up-to-date with |
| ocw-data-parser = "^0.35.1" | ||
| onnxruntime = "1.22.1" | ||
| openai = "^1.55.3" | ||
| openai = "^2.0.0" |
There was a problem hiding this comment.
Bug: Upgrading openai to ^2.0.0 while keeping litellm at 1.79.3 may cause runtime errors, as litellm v1.79.3 likely expects openai v1.x APIs.
Severity: HIGH
Suggested Fix
To resolve the incompatibility, either upgrade litellm to a version that is explicitly compatible with openai v2.x (likely requiring openai >= 2.8.0), or revert the openai upgrade to a v1.x version compatible with litellm 1.79.3. The safest approach is to align both dependencies according to litellm's official compatibility matrix.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.
Location: pyproject.toml#L75
Potential issue: The pull request upgrades `openai` to version `^2.0.0` but leaves
`litellm` pinned at `1.79.3`. This version of `litellm` was likely developed and tested
against `openai` v1.x, and the major version bump in `openai` introduces breaking API
changes. As a result, calls to `litellm` functions that internally use the OpenAI SDK,
such as `litellm.embedding()` or `litellm.batch_completion()`, are likely to fail at
runtime due to this API incompatibility. While newer versions of `litellm` support
`openai` v2.x, they require at least version `2.8.0`, suggesting `2.0.0` is not a
compatible version.
shanbady
approved these changes
Feb 20, 2026
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.
This PR contains the following updates:
^1.55.3→^2.0.0Release Notes
openai/openai-python (openai)
v2.21.0Compare Source
Full Changelog: v2.20.0...v2.21.0
Features
Bug Fixes
Chores
Documentation
api.mdby standalone resources (96e41b3)v2.20.0Compare Source
Full Changelog: v2.19.0...v2.20.0
Features
v2.19.0Compare Source
Full Changelog: v2.18.0...v2.19.0
Features
Chores
v2.18.0Compare Source
Full Changelog: v2.17.0...v2.18.0
Features
v2.17.0Compare Source
Full Changelog: v2.16.0...v2.17.0
Features
Bug Fixes
find_in_pageaction (ec54dde)v2.16.0Compare Source
Full Changelog: v2.15.0...v2.16.0
Features
Bug Fixes
Chores
actions/github-script(5139f13)actions/checkoutversion (f276714)Documentation
v2.15.0Compare Source
Full Changelog: v2.14.0...v2.15.0
Features
Chores
v2.14.0Compare Source
Full Changelog: v2.13.0...v2.14.0
Features
modelparams accept strings (e517792)Bug Fixes
Chores
--fixargument to lint script (93107ef)v2.13.0Compare Source
Full Changelog: v2.13.0...v2.14.0
Features
modelparams accept strings (e517792)Bug Fixes
Chores
--fixargument to lint script (93107ef)v2.12.0Compare Source
Full Changelog: v2.12.0...v2.13.0
Features
Chores
v2.11.0Compare Source
Full Changelog: v2.11.0...v2.12.0
Features
v2.9.0Compare Source
Full Changelog: v2.9.0...v2.10.0
Features
Bug Fixes
Chores
v2.8.1Compare Source
Full Changelog: v2.8.0...v2.8.1
Bug Fixes
v2.8.0Compare Source
Full Changelog: v2.8.0...v2.8.1
Bug Fixes
v2.7.2Compare Source
Full Changelog: v2.7.1...v2.7.2
Bug Fixes
Chores
v2.7.1Compare Source
Full Changelog: v2.7.0...v2.7.1
Bug Fixes
v2.7.0Compare Source
Full Changelog: v2.7.0...v2.7.1
Bug Fixes
v2.6.1Compare Source
Full Changelog: v2.6.0...v2.6.1
Bug Fixes
Chores
v2.6.0Compare Source
Full Changelog: v2.6.0...v2.6.1
Bug Fixes
Chores
v2.5.0Compare Source
Full Changelog: v2.5.0...v2.6.0
Features
Bug Fixes
v2.4.0Compare Source
Full Changelog: v2.4.0...v2.5.0
Features
Chores
httpx-aiohttpversion to 0.1.9 (67f2f0a)v2.3.0Compare Source
Full Changelog: v2.3.0...v2.4.0
Features
Chores
v2.2.0Compare Source
Full Changelog: v2.2.0...v2.3.0
Features
Chores
v2.1.0Compare Source
Full Changelog: v2.1.0...v2.2.0
Features
Bug Fixes
v2.0.1Compare Source
Full Changelog: v2.0.1...v2.1.0
Features
v2.0.0Compare Source
Full Changelog: v2.0.0...v2.0.1
Bug Fixes
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.