Skip to content

Commit 0296375

Browse files
release: 1.107.0 (#2613)
* chore(internal): codegen related update * feat(api): ship the RealtimeGA API shape Updates types to use the GA shape for Realtime API * release: 1.107.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 2adf111 commit 0296375

File tree

89 files changed

+2603
-1896
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+2603
-1896
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.106.1"
2+
".": "1.107.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 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-51afd6abbcb18c3086f62993f9379c18443b9e516cbc0548ddfb932e835657f8.yml
3-
openapi_spec_hash: dae6afeaefa15cb8700c7a870531e06f
4-
config_hash: b854932c0ea24b400bdd64e4376936bd
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-7807ec6037efcee1af7decbfd3974a42b761fb6c6a71b4050fe43484d7fcbac4.yml
3+
openapi_spec_hash: da6851e3891ad2659a50ed6a736fd32a
4+
config_hash: 74d955cdc2377213f5268ea309090f6c

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Changelog
22

3+
## 1.107.0 (2025-09-08)
4+
5+
Full Changelog: [v1.106.1...v1.107.0](https://github.com/openai/openai-python/compare/v1.106.1...v1.107.0)
6+
7+
### Features
8+
9+
* **api:** ship the RealtimeGA API shape ([dc319d8](https://github.com/openai/openai-python/commit/dc319d8bbb3a20108399c1d15f98e63bdd84eb5c))
10+
11+
12+
### Chores
13+
14+
* **internal:** codegen related update ([b79b7ca](https://github.com/openai/openai-python/commit/b79b7ca3a72009a036db0a344b500f616ca0443f))
15+
316
## 1.106.1 (2025-09-04)
417

518
Full Changelog: [v1.106.0...v1.106.1](https://github.com/openai/openai-python/compare/v1.106.0...v1.106.1)

api.md

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ Types:
863863

864864
```python
865865
from openai.types.realtime import (
866+
AudioTranscription,
866867
ConversationCreatedEvent,
867868
ConversationItem,
868869
ConversationItemAdded,
@@ -891,11 +892,16 @@ from openai.types.realtime import (
891892
McpListToolsCompleted,
892893
McpListToolsFailed,
893894
McpListToolsInProgress,
895+
Models,
896+
NoiseReductionType,
894897
OutputAudioBufferClearEvent,
895898
RateLimitsUpdatedEvent,
896899
RealtimeAudioConfig,
900+
RealtimeAudioConfigInput,
901+
RealtimeAudioConfigOutput,
902+
RealtimeAudioFormats,
903+
RealtimeAudioInputTurnDetection,
897904
RealtimeClientEvent,
898-
RealtimeClientSecretConfig,
899905
RealtimeConversationItemAssistantMessage,
900906
RealtimeConversationItemFunctionCall,
901907
RealtimeConversationItemFunctionCallOutput,
@@ -911,6 +917,9 @@ from openai.types.realtime import (
911917
RealtimeMcpToolExecutionError,
912918
RealtimeMcphttpError,
913919
RealtimeResponse,
920+
RealtimeResponseCreateAudioOutput,
921+
RealtimeResponseCreateMcpTool,
922+
RealtimeResponseCreateParams,
914923
RealtimeResponseStatus,
915924
RealtimeResponseUsage,
916925
RealtimeResponseUsageInputTokenDetails,
@@ -922,8 +931,12 @@ from openai.types.realtime import (
922931
RealtimeToolsConfig,
923932
RealtimeToolsConfigUnion,
924933
RealtimeTracingConfig,
934+
RealtimeTranscriptionSessionAudio,
935+
RealtimeTranscriptionSessionAudioInput,
936+
RealtimeTranscriptionSessionAudioInputTurnDetection,
925937
RealtimeTranscriptionSessionCreateRequest,
926938
RealtimeTruncation,
939+
RealtimeTruncationRetentionRatio,
927940
ResponseAudioDeltaEvent,
928941
ResponseAudioDoneEvent,
929942
ResponseAudioTranscriptDeltaEvent,
@@ -959,7 +972,15 @@ from openai.types.realtime import (
959972
Types:
960973

961974
```python
962-
from openai.types.realtime import RealtimeSessionCreateResponse, ClientSecretCreateResponse
975+
from openai.types.realtime import (
976+
RealtimeSessionClientSecret,
977+
RealtimeSessionCreateResponse,
978+
RealtimeTranscriptionSessionClientSecret,
979+
RealtimeTranscriptionSessionCreateResponse,
980+
RealtimeTranscriptionSessionInputAudioTranscription,
981+
RealtimeTranscriptionSessionTurnDetection,
982+
ClientSecretCreateResponse,
983+
)
963984
```
964985

965986
Methods:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "openai"
3-
version = "1.106.1"
3+
version = "1.107.0"
44
description = "The official Python library for the openai API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

requirements-dev.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ filelock==3.12.4
7070
frozenlist==1.7.0
7171
# via aiohttp
7272
# via aiosignal
73-
griffe==1.13.0
73+
griffe==1.14.0
7474
h11==0.16.0
7575
# via httpcore
7676
httpcore==1.0.9

src/openai/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "openai"
4-
__version__ = "1.106.1" # x-release-please-version
4+
__version__ = "1.107.0" # x-release-please-version

src/openai/resources/realtime/client_secrets.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,13 @@ def create(
5050
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5151
) -> ClientSecretCreateResponse:
5252
"""
53-
Create a Realtime session and client secret for either realtime or
54-
transcription.
53+
Create a Realtime client secret with an associated session configuration.
5554
5655
Args:
57-
expires_after: Configuration for the ephemeral token expiration.
56+
expires_after: Configuration for the client secret expiration. Expiration refers to the time
57+
after which a client secret will no longer be valid for creating sessions. The
58+
session itself may continue after that time once started. A secret can be used
59+
to create multiple sessions until it expires.
5860
5961
session: Session configuration to use for the client secret. Choose either a realtime
6062
session or a transcription session.
@@ -116,11 +118,13 @@ async def create(
116118
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
117119
) -> ClientSecretCreateResponse:
118120
"""
119-
Create a Realtime session and client secret for either realtime or
120-
transcription.
121+
Create a Realtime client secret with an associated session configuration.
121122
122123
Args:
123-
expires_after: Configuration for the ephemeral token expiration.
124+
expires_after: Configuration for the client secret expiration. Expiration refers to the time
125+
after which a client secret will no longer be valid for creating sessions. The
126+
session itself may continue after that time once started. A secret can be used
127+
to create multiple sessions until it expires.
124128
125129
session: Session configuration to use for the client secret. Choose either a realtime
126130
session or a transcription session.

0 commit comments

Comments
 (0)