Skip to content

Commit 8502041

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

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-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/openai/types/realtime/realtime_session.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,8 @@ class RealtimeSession(BaseModel):
220220

221221
model: Optional[
222222
Literal[
223+
"gpt-realtime",
224+
"gpt-realtime-2025-08-28",
223225
"gpt-4o-realtime-preview",
224226
"gpt-4o-realtime-preview-2024-10-01",
225227
"gpt-4o-realtime-preview-2024-12-17",

src/openai/types/realtime/realtime_session_create_request.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ class RealtimeSessionCreateRequest(BaseModel):
1919
model: Union[
2020
str,
2121
Literal[
22+
"gpt-realtime",
23+
"gpt-realtime-2025-08-28",
2224
"gpt-4o-realtime",
2325
"gpt-4o-mini-realtime",
2426
"gpt-4o-realtime-preview",

src/openai/types/realtime/realtime_session_create_request_param.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ class RealtimeSessionCreateRequestParam(TypedDict, total=False):
2121
Union[
2222
str,
2323
Literal[
24+
"gpt-realtime",
25+
"gpt-realtime-2025-08-28",
2426
"gpt-4o-realtime",
2527
"gpt-4o-mini-realtime",
2628
"gpt-4o-realtime-preview",

0 commit comments

Comments
 (0)