-
Notifications
You must be signed in to change notification settings - Fork 223
chore(deps): bump openai from 1.54.3 to 1.58.1 #1048
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
Conversation
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.
Disclaimer: Experimental PR review
PR Summary
This pull request updates the OpenAI Python SDK from version 1.54.3 to 1.58.1, introducing several new features and improvements.
- Adds Realtime API support for real-time streaming capabilities
- Introduces new O1 and GPT-4o models along with preference fine-tuning functionality
- Fixes assistant API query parameter handling for
includeparameter - Adds
reasoning_effortparameter support across all methods - Improves documentation with examples for Realtime API and client context manager usage
No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
03b5e39 to
5172c7f
Compare
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.
Disclaimer: Experimental PR review
PR Summary
This pull request updates the OpenAI Python SDK dependency in the langfuse-python repository. Based on the provided files, here's a focused summary of the changes:
- Updated OpenAI dependency version range in
/pyproject.tomlfrom 1.54.3 to 1.58.1 - Tests in
/tests/test_openai.pyand/tests/test_langchain.pywill need to handle new OpenAI features like Realtime API and reasoning_effort parameter - Client implementation in
/langfuse/api/client.pymay need adjustments for new OpenAI response structures - Usage tracking in
/langfuse/api/resources/ingestion/types/open_ai_usage.pyshould accommodate any changes to OpenAI's usage reporting
The key consideration is ensuring compatibility with OpenAI's new features while maintaining existing functionality in the Langfuse SDK.
No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Bumps [openai](https://github.com/openai/openai-python) from 1.54.3 to 1.58.1. - [Release notes](https://github.com/openai/openai-python/releases) - [Changelog](https://github.com/openai/openai-python/blob/main/CHANGELOG.md) - [Commits](openai/openai-python@v1.54.3...v1.58.1) --- updated-dependencies: - dependency-name: openai dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
5172c7f to
a859054
Compare
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.
Disclaimer: Experimental PR review
PR Summary
Based on the provided files and previous reviews, I'll focus on summarizing the most recent changes and implications:
Dependency update to OpenAI SDK 1.58.1 introduces new features that may impact the Langfuse Python SDK:
- Added
reasoning_effortparameter in/langfuse/api/resources/ingestion/types/open_ai_usage.pyneeds to be tracked for token usage - FastAPI and Django example projects in
/examples/need version compatibility updates - Test suite in
/tests/test_openai.pyrequires updates to handle new OpenAI response structures and parameters - Client implementation may need adjustments for Realtime API support and new model types
The key focus is on maintaining compatibility while supporting new OpenAI features in the Langfuse SDK.
No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
|
Superseded by #1059. |
Bumps openai from 1.54.3 to 1.58.1.
Release notes
Sourced from openai's releases.
... (truncated)
Changelog
Sourced from openai's changelog.
... (truncated)
Commits
19ecaafrelease: 1.58.16935dfddocs(readme): fix example script link1b78f22release: 1.58.0488ec04docs: add examples + guidance on Realtime API supporta6a94e0fix: add reasoning_effort to all methods5fdba48feat: add Realtime API support (#1958)575ff60feat(api): new o1 and GPT-4o models + preference fine-tuning (#1956)eba6781chore(internal): fix some typos (#1955)588935edocs(readme): example snippet for client context manager (#1953)0bfd8c4fix(assistants): correctly sendincludequery paramYou can trigger a rebase of this PR by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)