-
Notifications
You must be signed in to change notification settings - Fork 4.3k
release: 2.2.0 #2681
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
release: 2.2.0 #2681
Conversation
DevDay 2025 launches including videos and chatkit beta
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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
@cached_property | ||
def chatkit(self) -> ChatKitWithRawResponse: | ||
return ChatKitWithRawResponse(self._beta.chatkit) | ||
|
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.
Expose chatkit property on Beta resource
The new ChatKit client is only referenced in the wrapper classes, but Beta
/AsyncBeta
no longer define a chatkit
property. Any call such as client.beta.chatkit
or client.beta.with_raw_response.chatkit
will raise AttributeError
because self._beta.chatkit
does not exist. As a result the ChatKit API added in this release is unreachable and the accompanying tests will fail. Define @cached_property
accessors on both Beta
and AsyncBeta
that return ChatKit
/AsyncChatKit
before using them in the wrappers.
Useful? React with 👍 / 👎.
986b912
to
6f834f5
Compare
6f834f5
to
eb053dc
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.
shipit
🤖 Release is at https://github.com/openai/openai-python/releases/tag/v2.2.0 🌻 |
Automated Release PR
2.2.0 (2025-10-06)
Full Changelog: v2.1.0...v2.2.0
Features
Bug Fixes
This pull request is managed by Stainless's GitHub App.
The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.
For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.
🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions