Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ def with_azure(
speed: NotGivenOr[float] = NOT_GIVEN,
tracing: NotGivenOr[Tracing | None] = NOT_GIVEN,
http_session: aiohttp.ClientSession | None = None,
max_session_duration: NotGivenOr[float | None] = NOT_GIVEN,
temperature: NotGivenOr[float] = NOT_GIVEN, # deprecated, unused in v1
) -> RealtimeModel:
"""
Expand All @@ -518,6 +519,7 @@ def with_azure(
speed (float | NotGiven): Audio playback speed multiplier.
tracing (Tracing | None | NotGiven): Tracing configuration for OpenAI Realtime.
http_session (aiohttp.ClientSession | None): Optional shared HTTP session.
max_session_duration (float | None | NotGiven): Seconds before recycling the connection.
temperature (float | NotGiven): Deprecated; ignored by Realtime v1.

Returns:
Expand Down Expand Up @@ -623,6 +625,7 @@ def with_azure(
api_version=api_version,
entra_token=entra_token,
base_url=base_url,
max_session_duration=max_session_duration,
)

def update_options(
Expand Down
Loading