From 2d18f169b109857149626499832c3e345626466c Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 17:32:56 +0000 Subject: [PATCH 1/4] feat(api): api update --- .stats.yml | 6 +- lib/openai.rb | 4 - .../models/beta/chatkit_upload_file_params.rb | 28 ------- .../beta/chatkit_upload_file_response.rb | 25 ------ lib/openai/models/beta/file_part.rb | 56 ------------- lib/openai/models/beta/image_part.rb | 64 --------------- lib/openai/resources/beta/chatkit.rb | 26 ------ .../beta/chatkit_upload_file_params.rbi | 50 ----------- .../beta/chatkit_upload_file_response.rbi | 25 ------ rbi/openai/models/beta/file_part.rbi | 74 ----------------- rbi/openai/models/beta/image_part.rbi | 82 ------------------- rbi/openai/resources/beta/chatkit.rbi | 15 ---- .../beta/chatkit_upload_file_params.rbs | 26 ------ .../beta/chatkit_upload_file_response.rbs | 14 ---- sig/openai/models/beta/file_part.rbs | 42 ---------- sig/openai/models/beta/image_part.rbs | 47 ----------- sig/openai/resources/beta/chatkit.rbs | 5 -- test/openai/resources/beta/chatkit_test.rb | 21 ----- 18 files changed, 3 insertions(+), 607 deletions(-) delete mode 100644 lib/openai/models/beta/chatkit_upload_file_params.rb delete mode 100644 lib/openai/models/beta/chatkit_upload_file_response.rb delete mode 100644 lib/openai/models/beta/file_part.rb delete mode 100644 lib/openai/models/beta/image_part.rb delete mode 100644 rbi/openai/models/beta/chatkit_upload_file_params.rbi delete mode 100644 rbi/openai/models/beta/chatkit_upload_file_response.rbi delete mode 100644 rbi/openai/models/beta/file_part.rbi delete mode 100644 rbi/openai/models/beta/image_part.rbi delete mode 100644 sig/openai/models/beta/chatkit_upload_file_params.rbs delete mode 100644 sig/openai/models/beta/chatkit_upload_file_response.rbs delete mode 100644 sig/openai/models/beta/file_part.rbs delete mode 100644 sig/openai/models/beta/image_part.rbs diff --git a/.stats.yml b/.stats.yml index 09d2eb1d..0eacfb58 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ -configured_endpoints: 135 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-104cced8f4c7436a76eea02e26307828166405ccfb296faffb008b72772c11a7.yml -openapi_spec_hash: fdc03ed84a65a31b80da909255e53924 +configured_endpoints: 134 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-f59befea071ed7729cbb7bce219e7f837eccfdb57e01698514e6a0bd6052ff60.yml +openapi_spec_hash: b3a375ee523687d525d43e091e32b5eb config_hash: 03b48e9b8c7231a902403210dbd7dfa0 diff --git a/lib/openai.rb b/lib/openai.rb index 80a7919d..210f8d70 100644 --- a/lib/openai.rb +++ b/lib/openai.rb @@ -142,14 +142,10 @@ require_relative "openai/models/beta/chatkit/thread_list_items_params" require_relative "openai/models/beta/chatkit/thread_list_params" require_relative "openai/models/beta/chatkit/thread_retrieve_params" -require_relative "openai/models/beta/chatkit_upload_file_params" -require_relative "openai/models/beta/chatkit_upload_file_response" require_relative "openai/models/beta/chatkit_workflow" require_relative "openai/models/beta/code_interpreter_tool" -require_relative "openai/models/beta/file_part" require_relative "openai/models/beta/file_search_tool" require_relative "openai/models/beta/function_tool" -require_relative "openai/models/beta/image_part" require_relative "openai/models/beta/message_stream_event" require_relative "openai/models/beta/run_step_stream_event" require_relative "openai/models/beta/run_stream_event" diff --git a/lib/openai/models/beta/chatkit_upload_file_params.rb b/lib/openai/models/beta/chatkit_upload_file_params.rb deleted file mode 100644 index fa5011a5..00000000 --- a/lib/openai/models/beta/chatkit_upload_file_params.rb +++ /dev/null @@ -1,28 +0,0 @@ -# frozen_string_literal: true - -module OpenAI - module Models - module Beta - # @see OpenAI::Resources::Beta::ChatKit#upload_file - class ChatKitUploadFileParams < OpenAI::Internal::Type::BaseModel - extend OpenAI::Internal::Type::RequestParameters::Converter - include OpenAI::Internal::Type::RequestParameters - - # @!attribute file - # Binary file contents to store with the ChatKit session. Supports PDFs and PNG, - # JPG, JPEG, GIF, or WEBP images. - # - # @return [Pathname, StringIO, IO, String, OpenAI::FilePart] - required :file, OpenAI::Internal::Type::FileInput - - # @!method initialize(file:, request_options: {}) - # Some parameter documentations has been truncated, see - # {OpenAI::Models::Beta::ChatKitUploadFileParams} for more details. - # - # @param file [Pathname, StringIO, IO, String, OpenAI::FilePart] Binary file contents to store with the ChatKit session. Supports PDFs and PNG, J - # - # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}] - end - end - end -end diff --git a/lib/openai/models/beta/chatkit_upload_file_response.rb b/lib/openai/models/beta/chatkit_upload_file_response.rb deleted file mode 100644 index 7cd1133a..00000000 --- a/lib/openai/models/beta/chatkit_upload_file_response.rb +++ /dev/null @@ -1,25 +0,0 @@ -# frozen_string_literal: true - -module OpenAI - module Models - module Beta - # Represents either a file or image attachment. - # - # @see OpenAI::Resources::Beta::ChatKit#upload_file - module ChatKitUploadFileResponse - extend OpenAI::Internal::Type::Union - - discriminator :type - - # Metadata for a non-image file uploaded through ChatKit. - variant :file, -> { OpenAI::Beta::FilePart } - - # Metadata for an image uploaded through ChatKit. - variant :image, -> { OpenAI::Beta::ImagePart } - - # @!method self.variants - # @return [Array(OpenAI::Models::Beta::FilePart, OpenAI::Models::Beta::ImagePart)] - end - end - end -end diff --git a/lib/openai/models/beta/file_part.rb b/lib/openai/models/beta/file_part.rb deleted file mode 100644 index 6e41e5f9..00000000 --- a/lib/openai/models/beta/file_part.rb +++ /dev/null @@ -1,56 +0,0 @@ -# frozen_string_literal: true - -module OpenAI - module Models - module Beta - class FilePart < OpenAI::Internal::Type::BaseModel - # @!attribute id - # Unique identifier for the uploaded file. - # - # @return [String] - required :id, String - - # @!attribute mime_type - # MIME type reported for the uploaded file. Defaults to null when unknown. - # - # @return [String, nil] - required :mime_type, String, nil?: true - - # @!attribute name - # Original filename supplied by the uploader. Defaults to null when unnamed. - # - # @return [String, nil] - required :name, String, nil?: true - - # @!attribute type - # Type discriminator that is always `file`. - # - # @return [Symbol, :file] - required :type, const: :file - - # @!attribute upload_url - # Signed URL for downloading the uploaded file. Defaults to null when no download - # link is available. - # - # @return [String, nil] - required :upload_url, String, nil?: true - - # @!method initialize(id:, mime_type:, name:, upload_url:, type: :file) - # Some parameter documentations has been truncated, see - # {OpenAI::Models::Beta::FilePart} for more details. - # - # Metadata for a non-image file uploaded through ChatKit. - # - # @param id [String] Unique identifier for the uploaded file. - # - # @param mime_type [String, nil] MIME type reported for the uploaded file. Defaults to null when unknown. - # - # @param name [String, nil] Original filename supplied by the uploader. Defaults to null when unnamed. - # - # @param upload_url [String, nil] Signed URL for downloading the uploaded file. Defaults to null when no download - # - # @param type [Symbol, :file] Type discriminator that is always `file`. - end - end - end -end diff --git a/lib/openai/models/beta/image_part.rb b/lib/openai/models/beta/image_part.rb deleted file mode 100644 index eec55f01..00000000 --- a/lib/openai/models/beta/image_part.rb +++ /dev/null @@ -1,64 +0,0 @@ -# frozen_string_literal: true - -module OpenAI - module Models - module Beta - class ImagePart < OpenAI::Internal::Type::BaseModel - # @!attribute id - # Unique identifier for the uploaded image. - # - # @return [String] - required :id, String - - # @!attribute mime_type - # MIME type of the uploaded image. - # - # @return [String] - required :mime_type, String - - # @!attribute name - # Original filename for the uploaded image. Defaults to null when unnamed. - # - # @return [String, nil] - required :name, String, nil?: true - - # @!attribute preview_url - # Preview URL that can be rendered inline for the image. - # - # @return [String] - required :preview_url, String - - # @!attribute type - # Type discriminator that is always `image`. - # - # @return [Symbol, :image] - required :type, const: :image - - # @!attribute upload_url - # Signed URL for downloading the uploaded image. Defaults to null when no download - # link is available. - # - # @return [String, nil] - required :upload_url, String, nil?: true - - # @!method initialize(id:, mime_type:, name:, preview_url:, upload_url:, type: :image) - # Some parameter documentations has been truncated, see - # {OpenAI::Models::Beta::ImagePart} for more details. - # - # Metadata for an image uploaded through ChatKit. - # - # @param id [String] Unique identifier for the uploaded image. - # - # @param mime_type [String] MIME type of the uploaded image. - # - # @param name [String, nil] Original filename for the uploaded image. Defaults to null when unnamed. - # - # @param preview_url [String] Preview URL that can be rendered inline for the image. - # - # @param upload_url [String, nil] Signed URL for downloading the uploaded image. Defaults to null when no download - # - # @param type [Symbol, :image] Type discriminator that is always `image`. - end - end - end -end diff --git a/lib/openai/resources/beta/chatkit.rb b/lib/openai/resources/beta/chatkit.rb index 5ae792bf..84bb0acc 100644 --- a/lib/openai/resources/beta/chatkit.rb +++ b/lib/openai/resources/beta/chatkit.rb @@ -10,32 +10,6 @@ class ChatKit # @return [OpenAI::Resources::Beta::ChatKit::Threads] attr_reader :threads - # Some parameter documentations has been truncated, see - # {OpenAI::Models::Beta::ChatKitUploadFileParams} for more details. - # - # Upload a ChatKit file - # - # @overload upload_file(file:, request_options: {}) - # - # @param file [Pathname, StringIO, IO, String, OpenAI::FilePart] Binary file contents to store with the ChatKit session. Supports PDFs and PNG, J - # - # @param request_options [OpenAI::RequestOptions, Hash{Symbol=>Object}, nil] - # - # @return [OpenAI::Models::Beta::FilePart, OpenAI::Models::Beta::ImagePart] - # - # @see OpenAI::Models::Beta::ChatKitUploadFileParams - def upload_file(params) - parsed, options = OpenAI::Beta::ChatKitUploadFileParams.dump_request(params) - @client.request( - method: :post, - path: "chatkit/files", - headers: {"content-type" => "multipart/form-data"}, - body: parsed, - model: OpenAI::Models::Beta::ChatKitUploadFileResponse, - options: {extra_headers: {"OpenAI-Beta" => "chatkit_beta=v1"}, **options} - ) - end - # @api private # # @param client [OpenAI::Client] diff --git a/rbi/openai/models/beta/chatkit_upload_file_params.rbi b/rbi/openai/models/beta/chatkit_upload_file_params.rbi deleted file mode 100644 index 20a49467..00000000 --- a/rbi/openai/models/beta/chatkit_upload_file_params.rbi +++ /dev/null @@ -1,50 +0,0 @@ -# typed: strong - -module OpenAI - module Models - module Beta - class ChatKitUploadFileParams < OpenAI::Internal::Type::BaseModel - extend OpenAI::Internal::Type::RequestParameters::Converter - include OpenAI::Internal::Type::RequestParameters - - OrHash = - T.type_alias do - T.any( - OpenAI::Beta::ChatKitUploadFileParams, - OpenAI::Internal::AnyHash - ) - end - - # Binary file contents to store with the ChatKit session. Supports PDFs and PNG, - # JPG, JPEG, GIF, or WEBP images. - sig { returns(OpenAI::Internal::FileInput) } - attr_accessor :file - - sig do - params( - file: OpenAI::Internal::FileInput, - request_options: OpenAI::RequestOptions::OrHash - ).returns(T.attached_class) - end - def self.new( - # Binary file contents to store with the ChatKit session. Supports PDFs and PNG, - # JPG, JPEG, GIF, or WEBP images. - file:, - request_options: {} - ) - end - - sig do - override.returns( - { - file: OpenAI::Internal::FileInput, - request_options: OpenAI::RequestOptions - } - ) - end - def to_hash - end - end - end - end -end diff --git a/rbi/openai/models/beta/chatkit_upload_file_response.rbi b/rbi/openai/models/beta/chatkit_upload_file_response.rbi deleted file mode 100644 index bbac302f..00000000 --- a/rbi/openai/models/beta/chatkit_upload_file_response.rbi +++ /dev/null @@ -1,25 +0,0 @@ -# typed: strong - -module OpenAI - module Models - module Beta - # Represents either a file or image attachment. - module ChatKitUploadFileResponse - extend OpenAI::Internal::Type::Union - - Variants = - T.type_alias do - T.any(OpenAI::Beta::FilePart, OpenAI::Beta::ImagePart) - end - - sig do - override.returns( - T::Array[OpenAI::Models::Beta::ChatKitUploadFileResponse::Variants] - ) - end - def self.variants - end - end - end - end -end diff --git a/rbi/openai/models/beta/file_part.rbi b/rbi/openai/models/beta/file_part.rbi deleted file mode 100644 index 3a93a6e6..00000000 --- a/rbi/openai/models/beta/file_part.rbi +++ /dev/null @@ -1,74 +0,0 @@ -# typed: strong - -module OpenAI - module Models - module Beta - class FilePart < OpenAI::Internal::Type::BaseModel - OrHash = - T.type_alias do - T.any(OpenAI::Beta::FilePart, OpenAI::Internal::AnyHash) - end - - # Unique identifier for the uploaded file. - sig { returns(String) } - attr_accessor :id - - # MIME type reported for the uploaded file. Defaults to null when unknown. - sig { returns(T.nilable(String)) } - attr_accessor :mime_type - - # Original filename supplied by the uploader. Defaults to null when unnamed. - sig { returns(T.nilable(String)) } - attr_accessor :name - - # Type discriminator that is always `file`. - sig { returns(Symbol) } - attr_accessor :type - - # Signed URL for downloading the uploaded file. Defaults to null when no download - # link is available. - sig { returns(T.nilable(String)) } - attr_accessor :upload_url - - # Metadata for a non-image file uploaded through ChatKit. - sig do - params( - id: String, - mime_type: T.nilable(String), - name: T.nilable(String), - upload_url: T.nilable(String), - type: Symbol - ).returns(T.attached_class) - end - def self.new( - # Unique identifier for the uploaded file. - id:, - # MIME type reported for the uploaded file. Defaults to null when unknown. - mime_type:, - # Original filename supplied by the uploader. Defaults to null when unnamed. - name:, - # Signed URL for downloading the uploaded file. Defaults to null when no download - # link is available. - upload_url:, - # Type discriminator that is always `file`. - type: :file - ) - end - - sig do - override.returns( - { - id: String, - mime_type: T.nilable(String), - name: T.nilable(String), - type: Symbol, - upload_url: T.nilable(String) - } - ) - end - def to_hash - end - end - end - end -end diff --git a/rbi/openai/models/beta/image_part.rbi b/rbi/openai/models/beta/image_part.rbi deleted file mode 100644 index b6c5cf1e..00000000 --- a/rbi/openai/models/beta/image_part.rbi +++ /dev/null @@ -1,82 +0,0 @@ -# typed: strong - -module OpenAI - module Models - module Beta - class ImagePart < OpenAI::Internal::Type::BaseModel - OrHash = - T.type_alias do - T.any(OpenAI::Beta::ImagePart, OpenAI::Internal::AnyHash) - end - - # Unique identifier for the uploaded image. - sig { returns(String) } - attr_accessor :id - - # MIME type of the uploaded image. - sig { returns(String) } - attr_accessor :mime_type - - # Original filename for the uploaded image. Defaults to null when unnamed. - sig { returns(T.nilable(String)) } - attr_accessor :name - - # Preview URL that can be rendered inline for the image. - sig { returns(String) } - attr_accessor :preview_url - - # Type discriminator that is always `image`. - sig { returns(Symbol) } - attr_accessor :type - - # Signed URL for downloading the uploaded image. Defaults to null when no download - # link is available. - sig { returns(T.nilable(String)) } - attr_accessor :upload_url - - # Metadata for an image uploaded through ChatKit. - sig do - params( - id: String, - mime_type: String, - name: T.nilable(String), - preview_url: String, - upload_url: T.nilable(String), - type: Symbol - ).returns(T.attached_class) - end - def self.new( - # Unique identifier for the uploaded image. - id:, - # MIME type of the uploaded image. - mime_type:, - # Original filename for the uploaded image. Defaults to null when unnamed. - name:, - # Preview URL that can be rendered inline for the image. - preview_url:, - # Signed URL for downloading the uploaded image. Defaults to null when no download - # link is available. - upload_url:, - # Type discriminator that is always `image`. - type: :image - ) - end - - sig do - override.returns( - { - id: String, - mime_type: String, - name: T.nilable(String), - preview_url: String, - type: Symbol, - upload_url: T.nilable(String) - } - ) - end - def to_hash - end - end - end - end -end diff --git a/rbi/openai/resources/beta/chatkit.rbi b/rbi/openai/resources/beta/chatkit.rbi index 6232df45..5dc50c28 100644 --- a/rbi/openai/resources/beta/chatkit.rbi +++ b/rbi/openai/resources/beta/chatkit.rbi @@ -10,21 +10,6 @@ module OpenAI sig { returns(OpenAI::Resources::Beta::ChatKit::Threads) } attr_reader :threads - # Upload a ChatKit file - sig do - params( - file: OpenAI::Internal::FileInput, - request_options: OpenAI::RequestOptions::OrHash - ).returns(OpenAI::Models::Beta::ChatKitUploadFileResponse::Variants) - end - def upload_file( - # Binary file contents to store with the ChatKit session. Supports PDFs and PNG, - # JPG, JPEG, GIF, or WEBP images. - file:, - request_options: {} - ) - end - # @api private sig { params(client: OpenAI::Client).returns(T.attached_class) } def self.new(client:) diff --git a/sig/openai/models/beta/chatkit_upload_file_params.rbs b/sig/openai/models/beta/chatkit_upload_file_params.rbs deleted file mode 100644 index 82f490dd..00000000 --- a/sig/openai/models/beta/chatkit_upload_file_params.rbs +++ /dev/null @@ -1,26 +0,0 @@ -module OpenAI - module Models - module Beta - type chatkit_upload_file_params = - { file: OpenAI::Internal::file_input } - & OpenAI::Internal::Type::request_parameters - - class ChatKitUploadFileParams < OpenAI::Internal::Type::BaseModel - extend OpenAI::Internal::Type::RequestParameters::Converter - include OpenAI::Internal::Type::RequestParameters - - attr_accessor file: OpenAI::Internal::file_input - - def initialize: ( - file: OpenAI::Internal::file_input, - ?request_options: OpenAI::request_opts - ) -> void - - def to_hash: -> { - file: OpenAI::Internal::file_input, - request_options: OpenAI::RequestOptions - } - end - end - end -end diff --git a/sig/openai/models/beta/chatkit_upload_file_response.rbs b/sig/openai/models/beta/chatkit_upload_file_response.rbs deleted file mode 100644 index ebd42d98..00000000 --- a/sig/openai/models/beta/chatkit_upload_file_response.rbs +++ /dev/null @@ -1,14 +0,0 @@ -module OpenAI - module Models - module Beta - type chatkit_upload_file_response = - OpenAI::Beta::FilePart | OpenAI::Beta::ImagePart - - module ChatKitUploadFileResponse - extend OpenAI::Internal::Type::Union - - def self?.variants: -> ::Array[OpenAI::Models::Beta::chatkit_upload_file_response] - end - end - end -end diff --git a/sig/openai/models/beta/file_part.rbs b/sig/openai/models/beta/file_part.rbs deleted file mode 100644 index 53097ebd..00000000 --- a/sig/openai/models/beta/file_part.rbs +++ /dev/null @@ -1,42 +0,0 @@ -module OpenAI - module Models - module Beta - type file_part = - { - id: String, - mime_type: String?, - name: String?, - type: :file, - upload_url: String? - } - - class FilePart < OpenAI::Internal::Type::BaseModel - attr_accessor id: String - - attr_accessor mime_type: String? - - attr_accessor name: String? - - attr_accessor type: :file - - attr_accessor upload_url: String? - - def initialize: ( - id: String, - mime_type: String?, - name: String?, - upload_url: String?, - ?type: :file - ) -> void - - def to_hash: -> { - id: String, - mime_type: String?, - name: String?, - type: :file, - upload_url: String? - } - end - end - end -end diff --git a/sig/openai/models/beta/image_part.rbs b/sig/openai/models/beta/image_part.rbs deleted file mode 100644 index b7391716..00000000 --- a/sig/openai/models/beta/image_part.rbs +++ /dev/null @@ -1,47 +0,0 @@ -module OpenAI - module Models - module Beta - type image_part = - { - id: String, - mime_type: String, - name: String?, - preview_url: String, - type: :image, - upload_url: String? - } - - class ImagePart < OpenAI::Internal::Type::BaseModel - attr_accessor id: String - - attr_accessor mime_type: String - - attr_accessor name: String? - - attr_accessor preview_url: String - - attr_accessor type: :image - - attr_accessor upload_url: String? - - def initialize: ( - id: String, - mime_type: String, - name: String?, - preview_url: String, - upload_url: String?, - ?type: :image - ) -> void - - def to_hash: -> { - id: String, - mime_type: String, - name: String?, - preview_url: String, - type: :image, - upload_url: String? - } - end - end - end -end diff --git a/sig/openai/resources/beta/chatkit.rbs b/sig/openai/resources/beta/chatkit.rbs index 5a6e7d73..72cc3d60 100644 --- a/sig/openai/resources/beta/chatkit.rbs +++ b/sig/openai/resources/beta/chatkit.rbs @@ -6,11 +6,6 @@ module OpenAI attr_reader threads: OpenAI::Resources::Beta::ChatKit::Threads - def upload_file: ( - file: OpenAI::Internal::file_input, - ?request_options: OpenAI::request_opts - ) -> OpenAI::Models::Beta::chatkit_upload_file_response - def initialize: (client: OpenAI::Client) -> void end end diff --git a/test/openai/resources/beta/chatkit_test.rb b/test/openai/resources/beta/chatkit_test.rb index 2a40365b..2dbf0a74 100644 --- a/test/openai/resources/beta/chatkit_test.rb +++ b/test/openai/resources/beta/chatkit_test.rb @@ -3,25 +3,4 @@ require_relative "../../test_helper" class OpenAI::Test::Resources::Beta::ChatKitTest < OpenAI::Test::ResourceTest - def test_upload_file_required_params - response = @openai.beta.chatkit.upload_file(file: Pathname(__FILE__)) - - assert_pattern do - response => OpenAI::Models::Beta::ChatKitUploadFileResponse - end - - assert_pattern do - case response - in OpenAI::Beta::FilePart - in OpenAI::Beta::ImagePart - end - end - - assert_pattern do - case response - in {type: :file, id: String, mime_type: String | nil, name: String | nil, upload_url: String | nil} - in {type: :image, id: String, mime_type: String, name: String | nil, preview_url: String, upload_url: String | nil} - end - end - end end From 3f8a8534513e420860482d65fc543d4a837193e0 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 17:34:05 +0000 Subject: [PATCH 2/4] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 0eacfb58..5b46f476 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 134 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-f59befea071ed7729cbb7bce219e7f837eccfdb57e01698514e6a0bd6052ff60.yml -openapi_spec_hash: b3a375ee523687d525d43e091e32b5eb +openapi_spec_hash: 49da48619d37932b2e257c532078b2bb config_hash: 03b48e9b8c7231a902403210dbd7dfa0 From 1100f9383abd2e819c3cfc1916d97c6071982cad Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 18:10:17 +0000 Subject: [PATCH 3/4] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index 5b46f476..3a558a91 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 134 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-f59befea071ed7729cbb7bce219e7f837eccfdb57e01698514e6a0bd6052ff60.yml openapi_spec_hash: 49da48619d37932b2e257c532078b2bb -config_hash: 03b48e9b8c7231a902403210dbd7dfa0 +config_hash: 1af83449a09a3b4f276444dbcdd3eb67 From 1f7abce2dfc6a0fd451513d9e84fb739bc83f85d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 17 Oct 2025 18:10:35 +0000 Subject: [PATCH 4/4] release: 0.33.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/openai/version.rb | 2 +- 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f04d0896..57dc0c3d 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.32.0" + ".": "0.33.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 14a757ea..6b025468 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.33.0 (2025-10-17) + +Full Changelog: [v0.32.0...v0.33.0](https://github.com/openai/openai-ruby/compare/v0.32.0...v0.33.0) + +### Features + +* **api:** api update ([2d18f16](https://github.com/openai/openai-ruby/commit/2d18f169b109857149626499832c3e345626466c)) + ## 0.32.0 (2025-10-16) Full Changelog: [v0.31.0...v0.32.0](https://github.com/openai/openai-ruby/compare/v0.31.0...v0.32.0) diff --git a/Gemfile.lock b/Gemfile.lock index 5dc3ad50..e0f86a19 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - openai (0.32.0) + openai (0.33.0) connection_pool GEM diff --git a/README.md b/README.md index 5ec8dd33..bb5b50f8 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "openai", "~> 0.32.0" +gem "openai", "~> 0.33.0" ``` diff --git a/lib/openai/version.rb b/lib/openai/version.rb index 1368c8cb..a623bc18 100644 --- a/lib/openai/version.rb +++ b/lib/openai/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module OpenAI - VERSION = "0.32.0" + VERSION = "0.33.0" end