Skip to content

Commit 07c2807

Browse files
feat(api): Add gpt-realtime models
Adds gpt-realtime and gpt-realtime-2025-08-28
1 parent 1a38501 commit 07c2807

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-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: 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
44
config_hash: b854932c0ea24b400bdd64e4376936bd

src/resources/realtime/realtime.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,6 +2218,8 @@ export interface RealtimeSession {
22182218
* The Realtime model used for this session.
22192219
*/
22202220
model?:
2221+
| 'gpt-realtime'
2222+
| 'gpt-realtime-2025-08-28'
22212223
| 'gpt-4o-realtime-preview'
22222224
| 'gpt-4o-realtime-preview-2024-10-01'
22232225
| 'gpt-4o-realtime-preview-2024-12-17'
@@ -2480,6 +2482,8 @@ export interface RealtimeSessionCreateRequest {
24802482
*/
24812483
model:
24822484
| (string & {})
2485+
| 'gpt-realtime'
2486+
| 'gpt-realtime-2025-08-28'
24832487
| 'gpt-4o-realtime'
24842488
| 'gpt-4o-mini-realtime'
24852489
| 'gpt-4o-realtime-preview'

0 commit comments

Comments
 (0)