-
Couldn't load subscription status.
- Fork 6.6k
chore(deps): update dependency openai to v2 #13590
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
chore(deps): update dependency openai to v2 #13590
Conversation
Summary of ChangesHello @renovate-bot, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request performs a significant upgrade of the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request updates the openai dependency from version 1.x to 2.0.1. This is a major version upgrade which, according to the release notes, introduces breaking changes. For instance, the data type of output in ResponseFunctionToolCallOutputItem and ResponseCustomToolCallOutput has changed. Without corresponding code changes to handle the new API, this update is likely to break existing functionality. It is critical to audit the codebase for openai usage and perform the necessary migrations for the v2 API before this PR is merged.
| @@ -1,2 +1,2 @@ | |||
| google-auth==2.38.0 | |||
| openai==1.68.2 | |||
| openai==2.0.1 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading to openai v2 is a major version change that introduces breaking API changes. The release notes for v2.0.0 state: 'ResponseFunctionToolCallOutputItem.output and ResponseCustomToolCallOutput.output now return string | Array<ResponseInputText | ResponseInputImage | ResponseInputFile> instead of string only. This may break existing callsites that assume output is always a string.' Code using this dependency must be updated to be compatible with the v2 API to prevent runtime failures. This PR should not be merged until the necessary code migrations are completed.
This PR contains the following updates:
==1.68.2->==2.0.1==1.99.1->==2.0.1Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
openai/openai-python (openai)
v2.0.1Compare Source
Full Changelog: v2.0.0...v2.0.1
Bug Fixes
v2.0.0Compare Source
Full Changelog: v1.109.1...v2.0.0
⚠ BREAKING CHANGES
ResponseFunctionToolCallOutputItem.outputandResponseCustomToolCallOutput.outputnow returnstring | Array<ResponseInputText | ResponseInputImage | ResponseInputFile>instead ofstringonly. This may break existing callsites that assumeoutputis always a string.Features
v1.109.1Compare Source
Full Changelog: v1.109.0...v1.109.1
Bug Fixes
pydantic<2.8.0when using additional fields (5d95ecf)v1.109.0Compare Source
Full Changelog: v1.109.0...v1.109.1
Bug Fixes
pydantic<2.8.0when using additional fields (5d95ecf)v1.108.2Compare Source
Full Changelog: v1.108.2...v1.109.0
Features
v1.108.1Compare Source
Full Changelog: v1.108.1...v1.108.2
Bug Fixes
Chores
v1.108.0Compare Source
Full Changelog: v1.108.0...v1.108.1
Features
Chores
v1.107.3Compare Source
Full Changelog: v1.107.3...v1.108.0
Features
Chores
v1.107.2Compare Source
Full Changelog: v1.107.2...v1.107.3
Chores
get_platformtest (0b1f6a2)v1.107.1Compare Source
Full Changelog: v1.107.1...v1.107.2
Chores
get_platformtest (01f03e0)v1.107.0Compare Source
Full Changelog: v1.107.0...v1.107.1
Chores
v1.106.1Compare Source
Full Changelog: v1.106.1...v1.107.0
Features
Chores
v1.106.0Compare Source
Full Changelog: v1.106.0...v1.106.1
Chores
pyproject.tomlfile (ca413a2)v1.105.0Compare Source
Full Changelog: v1.105.0...v1.106.0
Features
v1.104.2Compare Source
Full Changelog: v1.104.2...v1.105.0
Features
v1.104.1Compare Source
Full Changelog: v1.104.1...v1.104.2
Bug Fixes
v1.104.0Compare Source
Full Changelog: v1.104.0...v1.104.1
Chores
v1.103.0Compare Source
Full Changelog: v1.103.0...v1.104.0
Features
Bug Fixes
Chores
v1.102.0Compare Source
Full Changelog: v1.102.0...v1.103.0
Features
Bug Fixes
Chores
inline-snapshotversion to 0.28.0 (#2590) (a6b0872)v1.101.0Compare Source
Full Changelog: v1.101.0...v1.102.0
Features
Bug Fixes
Chores
v1.100.2Compare Source
Full Changelog: v1.100.2...v1.100.3
Chores
v1.100.1Compare Source
Full Changelog: v1.100.1...v1.100.2
Chores
v1.100.0Compare Source
Full Changelog: v1.100.0...v1.100.1
Bug Fixes
v1.99.9Compare Source
Full Changelog: v1.99.9...v1.100.0
Features
v1.99.8Compare Source
Full Changelog: v1.99.8...v1.99.9
Bug Fixes
v1.99.7Compare Source
Full Changelog: v1.99.7...v1.99.8
Bug Fixes
Chores
Refactors
v1.99.6Compare Source
Full Changelog: v1.99.6...v1.99.7
Bug Fixes
v1.99.5Compare Source
Full Changelog: v1.99.5...v1.99.6
Bug Fixes
Chores
v1.99.4Compare Source
Full Changelog: v1.99.4...v1.99.5
Bug Fixes
v1.99.3Compare Source
Full Changelog: v1.99.3...v1.99.4
Bug Fixes
v1.99.2Compare Source
Full Changelog: v1.99.2...v1.99.3
Bug Fixes
v1.99.1Compare Source
Full Changelog: v1.99.1...v1.99.2
Features
Bug Fixes
Chores
v1.99.0Compare Source
Full Changelog: v1.99.0...v1.99.1
Bug Fixes
v1.98.0Compare Source
Full Changelog: v1.98.0...v1.99.0
Features
Bug Fixes
Chores
v1.97.2Compare Source
Full Changelog: v1.97.2...v1.98.0
Features
v1.97.1Compare Source
Full Changelog: v1.97.1...v1.97.2
Chores
v1.97.0Compare Source
Full Changelog: v1.97.0...v1.97.1
Bug Fixes
Chores
v1.96.1Compare Source
Full Changelog: v1.96.1...v1.97.0
Features
v1.96.0Compare Source
Full Changelog: v1.96.0...v1.96.1
Chores
v1.95.1Compare Source
Full Changelog: v1.95.1...v1.96.0
Features
Chores
v1.95.0Compare Source
Full Changelog: v1.95.0...v1.95.1
Bug Fixes
v1.94.0Compare Source
Full Changelog: v1.94.0...v1.95.0
Features
Chores
v1.93.3Compare Source
Full Changelog: v1.93.3...v1.94.0
Features
v1.93.2Compare Source
Full Changelog: v1.93.2...v1.93.3
Bug Fixes
v1.93.1Compare Source
Full Changelog: v1.93.1...v1.93.2
Chores
v1.93.0Compare Source
Full Changelog: v1.93.0...v1.93.1
Bug Fixes
Chores
v1.92.3Compare Source
Full Changelog: v1.92.3...v1.93.0
Features
v1.92.2Compare Source
Full Changelog: v1.92.2...v1.92.3
Bug Fixes
Documentation
v1.92.1Compare Source
Full Changelog: v1.92.1...v1.92.2
Chores
v1.92.0Compare Source
Full Changelog: v1.92.0...v1.92.1
Chores
v1.91.0Compare Source
Full Changelog: v1.91.0...v1.92.0
Features
Bug Fixes
Chores
v1.90.0Compare Source
Full Changelog: v1.90.0...v1.91.0
Features
v1.89.0Compare Source
Full Changelog: v1.89.0...v1.90.0
Features
v1.88.0Compare Source
Full Changelog: v1.88.0...v1.89.0
Features
Bug Fixes
Chores
v1.87.0Compare Source
Full Changelog: v1.87.0...v1.88.0
Features
Chores
v1.86.0Compare Source
Full Changelog: v1.86.0...v1.87.0
Features
Bug Fixes
client.beta.chat.completions(aa488d5)Chores
v1.85.0Compare Source
Full Changelog: v1.85.0...v1.86.0
Features
v1.84.0Compare Source
Full Changelog: v1.84.0...v1.85.0
Features
Bug Fixes
parse()(d459943)v1.83.0Compare Source
Full Changelog: v1.83.0...v1.84.0
Features
Chores
v1.82.1Compare Source
Full Changelog: v1.82.1...v1.83.0
Features
Bug Fixes
get /containers/{container_id}/files/{file_id}/content(f7c80c4)Chores
v1.82.0Compare Source
Full Changelog: v1.82.0...v1.82.1
Bug Fixes
parsed_argumentswhen re-serialising (6d04193)Chores
v1.81.0Compare Source
Full Changelog: v1.81.0...v1.82.0
Features
Bug Fixes
Documentation
v1.80.0Compare Source
Full Changelog: v1.80.0...v1.81.0
Features
v1.79.0Compare Source
Full Changelog: v1.79.0...v1.80.0
Features
Chores
v1.78.1Compare Source
Full Changelog: v1.78.1...v1.79.0
Features
Bug Fixes
Chores
v1.78.0Compare Source
Full Changelog: v1.78.0...v1.78.1
Bug Fixes
v1.77.0Compare Source
Full Changelog: v1.77.0...v1.78.0
Features
Bug Fixes
Chores
v1.76.2Compare Source
Full Changelog: v1.76.2...v1.77.0
Features
Bug Fixes
Chores
v1.76.1Compare Source
Full Changelog: v1.76.1...v1.76.2
Chores
v1.76.0Compare Source
Full Changelog: v1.76.0...v1.76.1
Chores
v1.75.0Compare Source
Full Changelog: v1.75.0...v1.76.0
Features
Bug Fixes
ModelField.annotationcheck (#2163) (7351b12)Chores
v1.74.1Compare Source
Full Changelog: v1.74.1...v1.75.0
Features
v1.74.0Compare Source
Full Changelog: v1.74.0...v1.74.1
Chores
v1.73.0Compare Source
Full Changelog: v1.73.0...v1.74.0
Features
Bug Fixes
Chores
v1.72.0Compare Source
Full Changelog: v1.72.0...v1.73.0
Features
Bug Fixes
Chores
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.