Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.25.1"
".": "0.26.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-937fcfac8cbab692796cd9822b37e48a311e2220a8b103106ded0ee92a0b9484.yml
openapi_spec_hash: 74a0c58b5b8c4e06792d79b685e02a01
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-410219ea680089f02bb55163c673919703f946c3d6ad7ff5d6f607121d5287d5.yml
openapi_spec_hash: 2b3eee95d3f6796c7a61dfddf694a59a
config_hash: 666d6bb4b564f0d9d431124b5d1a0665
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.26.0 (2025-09-23)

Full Changelog: [v0.25.1...v0.26.0](https://github.com/openai/openai-ruby/compare/v0.25.1...v0.26.0)

### Features

* **api:** gpt-5-codex ([6c9b9b5](https://github.com/openai/openai-ruby/commit/6c9b9b58dabc56fbe9ac871517f837a662c6c237))

## 0.25.1 (2025-09-22)

Full Changelog: [v0.25.0...v0.25.1](https://github.com/openai/openai-ruby/compare/v0.25.0...v0.25.1)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
openai (0.25.1)
openai (0.26.0)
connection_pool

GEM
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "openai", "~> 0.25.1"
gem "openai", "~> 0.26.0"
```

<!-- x-release-please-end -->
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/all_models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module ResponsesOnlyModel
O4_MINI_DEEP_RESEARCH_2025_06_26 = :"o4-mini-deep-research-2025-06-26"
COMPUTER_USE_PREVIEW = :"computer-use-preview"
COMPUTER_USE_PREVIEW_2025_03_11 = :"computer-use-preview-2025-03-11"
GPT_5_CODEX = :"gpt-5-codex"

# @!method self.values
# @return [Array<Symbol>]
Expand Down
1 change: 1 addition & 0 deletions lib/openai/models/responses_model.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module ResponsesOnlyModel
O4_MINI_DEEP_RESEARCH_2025_06_26 = :"o4-mini-deep-research-2025-06-26"
COMPUTER_USE_PREVIEW = :"computer-use-preview"
COMPUTER_USE_PREVIEW_2025_03_11 = :"computer-use-preview-2025-03-11"
GPT_5_CODEX = :"gpt-5-codex"

# @!method self.values
# @return [Array<Symbol>]
Expand Down
2 changes: 1 addition & 1 deletion lib/openai/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module OpenAI
VERSION = "0.25.1"
VERSION = "0.26.0"
end
5 changes: 5 additions & 0 deletions rbi/openai/models/all_models.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ module OpenAI
:"computer-use-preview-2025-03-11",
OpenAI::AllModels::ResponsesOnlyModel::TaggedSymbol
)
GPT_5_CODEX =
T.let(
:"gpt-5-codex",
OpenAI::AllModels::ResponsesOnlyModel::TaggedSymbol
)

sig do
override.returns(
Expand Down
5 changes: 5 additions & 0 deletions rbi/openai/models/responses_model.rbi
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ module OpenAI
:"computer-use-preview-2025-03-11",
OpenAI::ResponsesModel::ResponsesOnlyModel::TaggedSymbol
)
GPT_5_CODEX =
T.let(
:"gpt-5-codex",
OpenAI::ResponsesModel::ResponsesOnlyModel::TaggedSymbol
)

sig do
override.returns(
Expand Down
2 changes: 2 additions & 0 deletions sig/openai/models/all_models.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module OpenAI
| :"o4-mini-deep-research-2025-06-26"
| :"computer-use-preview"
| :"computer-use-preview-2025-03-11"
| :"gpt-5-codex"

module ResponsesOnlyModel
extend OpenAI::Internal::Type::Enum
Expand All @@ -33,6 +34,7 @@ module OpenAI
O4_MINI_DEEP_RESEARCH_2025_06_26: :"o4-mini-deep-research-2025-06-26"
COMPUTER_USE_PREVIEW: :"computer-use-preview"
COMPUTER_USE_PREVIEW_2025_03_11: :"computer-use-preview-2025-03-11"
GPT_5_CODEX: :"gpt-5-codex"

def self?.values: -> ::Array[OpenAI::Models::AllModels::responses_only_model]
end
Expand Down
2 changes: 2 additions & 0 deletions sig/openai/models/responses_model.rbs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ module OpenAI
| :"o4-mini-deep-research-2025-06-26"
| :"computer-use-preview"
| :"computer-use-preview-2025-03-11"
| :"gpt-5-codex"

module ResponsesOnlyModel
extend OpenAI::Internal::Type::Enum
Expand All @@ -33,6 +34,7 @@ module OpenAI
O4_MINI_DEEP_RESEARCH_2025_06_26: :"o4-mini-deep-research-2025-06-26"
COMPUTER_USE_PREVIEW: :"computer-use-preview"
COMPUTER_USE_PREVIEW_2025_03_11: :"computer-use-preview-2025-03-11"
GPT_5_CODEX: :"gpt-5-codex"

def self?.values: -> ::Array[OpenAI::Models::ResponsesModel::responses_only_model]
end
Expand Down