-
Notifications
You must be signed in to change notification settings - Fork 104
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
chore(deps): bump openai from 1.54.3 to 1.58.1 #1048
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
include
parameter - Adds
reasoning_effort
parameter 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.toml
from 1.54.3 to 1.58.1 - Tests in
/tests/test_openai.py
and/tests/test_langchain.py
will need to handle new OpenAI features like Realtime API and reasoning_effort parameter - Client implementation in
/langfuse/api/client.py
may need adjustments for new OpenAI response structures - Usage tracking in
/langfuse/api/resources/ingestion/types/open_ai_usage.py
should 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] <[email protected]>
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_effort
parameter in/langfuse/api/resources/ingestion/types/open_ai_usage.py
needs to be tracked for token usage - FastAPI and Django example projects in
/examples/
need version compatibility updates - Test suite in
/tests/test_openai.py
requires 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
19ecaaf
release: 1.58.16935dfd
docs(readme): fix example script link1b78f22
release: 1.58.0488ec04
docs: add examples + guidance on Realtime API supporta6a94e0
fix: add reasoning_effort to all methods5fdba48
feat: add Realtime API support (#1958)575ff60
feat(api): new o1 and GPT-4o models + preference fine-tuning (#1956)eba6781
chore(internal): fix some typos (#1955)588935e
docs(readme): example snippet for client context manager (#1953)0bfd8c4
fix(assistants): correctly sendinclude
query 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 rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)