Skip to content

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Oct 6, 2025

Automated Release PR

2.2.0 (2025-10-06)

Full Changelog: v2.1.0...v2.2.0

Features

  • api: dev day 2025 launches (38ac009)

Bug Fixes

  • client: add chatkit to beta resource (de3e561)

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

DevDay 2025 launches including videos and chatkit beta
@stainless-app stainless-app bot requested a review from a team as a code owner October 6, 2025 17:49
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a 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 👍.

Comment on lines 107 to +129
@cached_property
def chatkit(self) -> ChatKitWithRawResponse:
return ChatKitWithRawResponse(self._beta.chatkit)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 986b912 to 6f834f5 Compare October 6, 2025 17:57
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 6f834f5 to eb053dc Compare October 6, 2025 18:04
Copy link
Contributor

@apcha-oai apcha-oai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shipit

@stainless-app stainless-app bot merged commit d69edeb into main Oct 6, 2025
9 checks passed
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next branch October 6, 2025 18:07
Copy link
Contributor Author

stainless-app bot commented Oct 6, 2025

🤖 Release is at https://github.com/openai/openai-python/releases/tag/v2.2.0 🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants