Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "1.106.1"
".": "1.107.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 118
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-51afd6abbcb18c3086f62993f9379c18443b9e516cbc0548ddfb932e835657f8.yml
openapi_spec_hash: dae6afeaefa15cb8700c7a870531e06f
config_hash: b854932c0ea24b400bdd64e4376936bd
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/openai%2Fopenai-7807ec6037efcee1af7decbfd3974a42b761fb6c6a71b4050fe43484d7fcbac4.yml
openapi_spec_hash: da6851e3891ad2659a50ed6a736fd32a
config_hash: 74d955cdc2377213f5268ea309090f6c
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

## 1.107.0 (2025-09-08)

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

### Features

* **api:** ship the RealtimeGA API shape ([dc319d8](https://github.com/openai/openai-python/commit/dc319d8bbb3a20108399c1d15f98e63bdd84eb5c))


### Chores

* **internal:** codegen related update ([b79b7ca](https://github.com/openai/openai-python/commit/b79b7ca3a72009a036db0a344b500f616ca0443f))

## 1.106.1 (2025-09-04)

Full Changelog: [v1.106.0...v1.106.1](https://github.com/openai/openai-python/compare/v1.106.0...v1.106.1)
Expand Down
25 changes: 23 additions & 2 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -863,6 +863,7 @@ Types:

```python
from openai.types.realtime import (
AudioTranscription,
ConversationCreatedEvent,
ConversationItem,
ConversationItemAdded,
Expand Down Expand Up @@ -891,11 +892,16 @@ from openai.types.realtime import (
McpListToolsCompleted,
McpListToolsFailed,
McpListToolsInProgress,
Models,
NoiseReductionType,
OutputAudioBufferClearEvent,
RateLimitsUpdatedEvent,
RealtimeAudioConfig,
RealtimeAudioConfigInput,
RealtimeAudioConfigOutput,
RealtimeAudioFormats,
RealtimeAudioInputTurnDetection,
RealtimeClientEvent,
RealtimeClientSecretConfig,
RealtimeConversationItemAssistantMessage,
RealtimeConversationItemFunctionCall,
RealtimeConversationItemFunctionCallOutput,
Expand All @@ -911,6 +917,9 @@ from openai.types.realtime import (
RealtimeMcpToolExecutionError,
RealtimeMcphttpError,
RealtimeResponse,
RealtimeResponseCreateAudioOutput,
RealtimeResponseCreateMcpTool,
RealtimeResponseCreateParams,
RealtimeResponseStatus,
RealtimeResponseUsage,
RealtimeResponseUsageInputTokenDetails,
Expand All @@ -922,8 +931,12 @@ from openai.types.realtime import (
RealtimeToolsConfig,
RealtimeToolsConfigUnion,
RealtimeTracingConfig,
RealtimeTranscriptionSessionAudio,
RealtimeTranscriptionSessionAudioInput,
RealtimeTranscriptionSessionAudioInputTurnDetection,
RealtimeTranscriptionSessionCreateRequest,
RealtimeTruncation,
RealtimeTruncationRetentionRatio,
ResponseAudioDeltaEvent,
ResponseAudioDoneEvent,
ResponseAudioTranscriptDeltaEvent,
Expand Down Expand Up @@ -959,7 +972,15 @@ from openai.types.realtime import (
Types:

```python
from openai.types.realtime import RealtimeSessionCreateResponse, ClientSecretCreateResponse
from openai.types.realtime import (
RealtimeSessionClientSecret,
RealtimeSessionCreateResponse,
RealtimeTranscriptionSessionClientSecret,
RealtimeTranscriptionSessionCreateResponse,
RealtimeTranscriptionSessionInputAudioTranscription,
RealtimeTranscriptionSessionTurnDetection,
ClientSecretCreateResponse,
)
```

Methods:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "openai"
version = "1.106.1"
version = "1.107.0"
description = "The official Python library for the openai API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ filelock==3.12.4
frozenlist==1.7.0
# via aiohttp
# via aiosignal
griffe==1.13.0
griffe==1.14.0
h11==0.16.0
# via httpcore
httpcore==1.0.9
Expand Down
2 changes: 1 addition & 1 deletion src/openai/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "openai"
__version__ = "1.106.1" # x-release-please-version
__version__ = "1.107.0" # x-release-please-version
16 changes: 10 additions & 6 deletions src/openai/resources/realtime/client_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,13 @@ def create(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> ClientSecretCreateResponse:
"""
Create a Realtime session and client secret for either realtime or
transcription.
Create a Realtime client secret with an associated session configuration.

Args:
expires_after: Configuration for the ephemeral token expiration.
expires_after: Configuration for the client secret expiration. Expiration refers to the time
after which a client secret will no longer be valid for creating sessions. The
session itself may continue after that time once started. A secret can be used
to create multiple sessions until it expires.

session: Session configuration to use for the client secret. Choose either a realtime
session or a transcription session.
Expand Down Expand Up @@ -116,11 +118,13 @@ async def create(
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
) -> ClientSecretCreateResponse:
"""
Create a Realtime session and client secret for either realtime or
transcription.
Create a Realtime client secret with an associated session configuration.

Args:
expires_after: Configuration for the ephemeral token expiration.
expires_after: Configuration for the client secret expiration. Expiration refers to the time
after which a client secret will no longer be valid for creating sessions. The
session itself may continue after that time once started. A secret can be used
to create multiple sessions until it expires.

session: Session configuration to use for the client secret. Choose either a realtime
session or a transcription session.
Expand Down
Loading
Loading