File tree Expand file tree Collapse file tree 7 files changed +39
-3
lines changed
lib/openai/models/realtime
rbi/openai/models/realtime
sig/openai/models/realtime Expand file tree Collapse file tree 7 files changed +39
-3
lines changed Original file line number Diff line number Diff line change 1
1
configured_endpoints : 118
2
- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-f312a661d9dd6b5d6d676e449c357f6414afd1fdaaf4d982d44ad86cba5c5f6e .yml
3
- openapi_spec_hash : b62fd3d3fb98e37b1da0a2e22af51d40
2
+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-51afd6abbcb18c3086f62993f9379c18443b9e516cbc0548ddfb932e835657f8 .yml
3
+ openapi_spec_hash : dae6afeaefa15cb8700c7a870531e06f
4
4
config_hash : b854932c0ea24b400bdd64e4376936bd
Original file line number Diff line number Diff line change @@ -370,6 +370,8 @@ module Modality
370
370
module Model
371
371
extend OpenAI ::Internal ::Type ::Enum
372
372
373
+ GPT_REALTIME = :"gpt-realtime"
374
+ GPT_REALTIME_2025_08_28 = :"gpt-realtime-2025-08-28"
373
375
GPT_4O_REALTIME_PREVIEW = :"gpt-4o-realtime-preview"
374
376
GPT_4O_REALTIME_PREVIEW_2024_10_01 = :"gpt-4o-realtime-preview-2024-10-01"
375
377
GPT_4O_REALTIME_PREVIEW_2024_12_17 = :"gpt-4o-realtime-preview-2024-12-17"
Original file line number Diff line number Diff line change @@ -157,6 +157,10 @@ module Model
157
157
158
158
variant String
159
159
160
+ variant const : -> { OpenAI ::Models ::Realtime ::RealtimeSessionCreateRequest ::Model ::GPT_REALTIME }
161
+
162
+ variant const : -> { OpenAI ::Models ::Realtime ::RealtimeSessionCreateRequest ::Model ::GPT_REALTIME_2025_08_28 }
163
+
160
164
variant const : -> { OpenAI ::Models ::Realtime ::RealtimeSessionCreateRequest ::Model ::GPT_4O_REALTIME }
161
165
162
166
variant const : -> { OpenAI ::Models ::Realtime ::RealtimeSessionCreateRequest ::Model ::GPT_4O_MINI_REALTIME }
@@ -182,6 +186,8 @@ module Model
182
186
183
187
# @!group
184
188
189
+ GPT_REALTIME = :"gpt-realtime"
190
+ GPT_REALTIME_2025_08_28 = :"gpt-realtime-2025-08-28"
185
191
GPT_4O_REALTIME = :"gpt-4o-realtime"
186
192
GPT_4O_MINI_REALTIME = :"gpt-4o-mini-realtime"
187
193
GPT_4O_REALTIME_PREVIEW = :"gpt-4o-realtime-preview"
Original file line number Diff line number Diff line change @@ -792,6 +792,16 @@ module OpenAI
792
792
end
793
793
OrSymbol = T . type_alias { T . any ( Symbol , String ) }
794
794
795
+ GPT_REALTIME =
796
+ T . let (
797
+ :"gpt-realtime" ,
798
+ OpenAI ::Realtime ::RealtimeSession ::Model ::TaggedSymbol
799
+ )
800
+ GPT_REALTIME_2025_08_28 =
801
+ T . let (
802
+ :"gpt-realtime-2025-08-28" ,
803
+ OpenAI ::Realtime ::RealtimeSession ::Model ::TaggedSymbol
804
+ )
795
805
GPT_4O_REALTIME_PREVIEW =
796
806
T . let (
797
807
:"gpt-4o-realtime-preview" ,
Original file line number Diff line number Diff line change @@ -431,6 +431,16 @@ module OpenAI
431
431
end
432
432
OrSymbol = T . type_alias { T . any ( Symbol , String ) }
433
433
434
+ GPT_REALTIME =
435
+ T . let (
436
+ :"gpt-realtime" ,
437
+ OpenAI ::Realtime ::RealtimeSessionCreateRequest ::Model ::TaggedSymbol
438
+ )
439
+ GPT_REALTIME_2025_08_28 =
440
+ T . let (
441
+ :"gpt-realtime-2025-08-28" ,
442
+ OpenAI ::Realtime ::RealtimeSessionCreateRequest ::Model ::TaggedSymbol
443
+ )
434
444
GPT_4O_REALTIME =
435
445
T . let (
436
446
:"gpt-4o-realtime" ,
Original file line number Diff line number Diff line change @@ -259,7 +259,9 @@ module OpenAI
259
259
end
260
260
261
261
type model =
262
- :"gpt-4o-realtime-preview"
262
+ :"gpt-realtime"
263
+ | :"gpt-realtime-2025-08-28"
264
+ | :"gpt-4o-realtime-preview"
263
265
| :"gpt-4o-realtime-preview-2024-10-01"
264
266
| :"gpt-4o-realtime-preview-2024-12-17"
265
267
| :"gpt-4o-realtime-preview-2025-06-03"
@@ -269,6 +271,8 @@ module OpenAI
269
271
module Model
270
272
extend OpenAI::Internal::Type::Enum
271
273
274
+ GPT_REALTIME: :"gpt-realtime"
275
+ GPT_REALTIME_2025_08_28: :"gpt-realtime-2025-08-28"
272
276
GPT_4O_REALTIME_PREVIEW: :"gpt-4o-realtime-preview"
273
277
GPT_4O_REALTIME_PREVIEW_2024_10_01: :"gpt-4o-realtime-preview-2024-10-01"
274
278
GPT_4O_REALTIME_PREVIEW_2024_12_17: :"gpt-4o-realtime-preview-2024-12-17"
Original file line number Diff line number Diff line change @@ -120,6 +120,8 @@ module OpenAI
120
120
121
121
type model =
122
122
String
123
+ | :"gpt-realtime"
124
+ | :"gpt-realtime-2025-08-28"
123
125
| :"gpt-4o-realtime"
124
126
| :"gpt-4o-mini-realtime"
125
127
| :"gpt-4o-realtime-preview"
@@ -134,6 +136,8 @@ module OpenAI
134
136
135
137
def self?.variants : -> ::Array[OpenAI::Models::Realtime::RealtimeSessionCreateRequest::model]
136
138
139
+ GPT_REALTIME: :"gpt-realtime"
140
+ GPT_REALTIME_2025_08_28: :"gpt-realtime-2025-08-28"
137
141
GPT_4O_REALTIME: :"gpt-4o-realtime"
138
142
GPT_4O_MINI_REALTIME: :"gpt-4o-mini-realtime"
139
143
GPT_4O_REALTIME_PREVIEW: :"gpt-4o-realtime-preview"
You can’t perform that action at this time.
0 commit comments