Skip to content

Commit 315f0b0

Browse files
feat(api): add new realtime and audio models, realtime session options
1 parent 4a1f14b commit 315f0b0

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 109
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-2bcc845d8635bf93ddcf9ee723af4d7928248412a417bee5fc10d863a1e13867.yml
3-
openapi_spec_hash: 865230cb3abeb01bd85de05891af23c4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-04213ea42074f52b8e7e60e101ed7d7ae47b8abcc233c7e8eae310bba544454d.yml
3+
openapi_spec_hash: 5fb148608764103ba3700cd6bda4f22e
44
config_hash: ed1e6b3c5f93d12b80d31167f55c557c

lib/openai/models/chat_model.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ module ChatModel
3030
GPT_4O_AUDIO_PREVIEW = :"gpt-4o-audio-preview"
3131
GPT_4O_AUDIO_PREVIEW_2024_10_01 = :"gpt-4o-audio-preview-2024-10-01"
3232
GPT_4O_AUDIO_PREVIEW_2024_12_17 = :"gpt-4o-audio-preview-2024-12-17"
33+
GPT_4O_AUDIO_PREVIEW_2025_06_03 = :"gpt-4o-audio-preview-2025-06-03"
3334
GPT_4O_MINI_AUDIO_PREVIEW = :"gpt-4o-mini-audio-preview"
3435
GPT_4O_MINI_AUDIO_PREVIEW_2024_12_17 = :"gpt-4o-mini-audio-preview-2024-12-17"
3536
GPT_4O_SEARCH_PREVIEW = :"gpt-4o-search-preview"

rbi/openai/models/chat_model.rbi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ module OpenAI
5252
:"gpt-4o-audio-preview-2024-12-17",
5353
OpenAI::ChatModel::TaggedSymbol
5454
)
55+
GPT_4O_AUDIO_PREVIEW_2025_06_03 =
56+
T.let(
57+
:"gpt-4o-audio-preview-2025-06-03",
58+
OpenAI::ChatModel::TaggedSymbol
59+
)
5560
GPT_4O_MINI_AUDIO_PREVIEW =
5661
T.let(:"gpt-4o-mini-audio-preview", OpenAI::ChatModel::TaggedSymbol)
5762
GPT_4O_MINI_AUDIO_PREVIEW_2024_12_17 =

sig/openai/models/chat_model.rbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module OpenAI
2626
| :"gpt-4o-audio-preview"
2727
| :"gpt-4o-audio-preview-2024-10-01"
2828
| :"gpt-4o-audio-preview-2024-12-17"
29+
| :"gpt-4o-audio-preview-2025-06-03"
2930
| :"gpt-4o-mini-audio-preview"
3031
| :"gpt-4o-mini-audio-preview-2024-12-17"
3132
| :"gpt-4o-search-preview"
@@ -84,6 +85,7 @@ module OpenAI
8485
GPT_4O_AUDIO_PREVIEW: :"gpt-4o-audio-preview"
8586
GPT_4O_AUDIO_PREVIEW_2024_10_01: :"gpt-4o-audio-preview-2024-10-01"
8687
GPT_4O_AUDIO_PREVIEW_2024_12_17: :"gpt-4o-audio-preview-2024-12-17"
88+
GPT_4O_AUDIO_PREVIEW_2025_06_03: :"gpt-4o-audio-preview-2025-06-03"
8789
GPT_4O_MINI_AUDIO_PREVIEW: :"gpt-4o-mini-audio-preview"
8890
GPT_4O_MINI_AUDIO_PREVIEW_2024_12_17: :"gpt-4o-mini-audio-preview-2024-12-17"
8991
GPT_4O_SEARCH_PREVIEW: :"gpt-4o-search-preview"

0 commit comments

Comments
 (0)