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: 2 additions & 0 deletions sdk/voicelive/azure-ai-voicelive/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

### Other Changes

- Updated default API version to `2026-01-01-preview`.

## 1.2.0b4 (2026-02-12)

### Features Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def __init__(
*,
credential: Union["AzureKeyCredential", "AsyncTokenCredential"],
endpoint: str,
api_version: str = "2025-10-01",
api_version: str = "2026-01-01-preview",
model: Optional[str] = None,
agent_config: Optional[AgentSessionConfig] = None,
extra_query: Mapping[str, Any],
Expand Down Expand Up @@ -874,7 +874,7 @@ def connect(
*,
credential: Union[AzureKeyCredential, AsyncTokenCredential],
endpoint: str,
api_version: str = "2025-10-01",
api_version: str = "2026-01-01-preview",
model: Optional[str] = None,
agent_config: Optional[AgentSessionConfig] = None,
query: Optional[Mapping[str, Any]] = None,
Expand All @@ -895,7 +895,7 @@ def connect(
:paramtype type credential: ~azure.core.credentials.AzureKeyCredential or ~azure.core.credentials.AsyncTokenCredential
:keyword endpoint: Service endpoint, e.g., ``https://<region>.api.cognitive.microsoft.com``.
:paramtype type endpoint: str
:keyword api_version: The API version to use. Defaults to ``"2025-10-01"``.
:keyword api_version: The API version to use. Defaults to ``"2026-01-01-preview"``.
:paramtype type api_version: str
:keyword model: Model identifier to use for the session.
In most scenarios, this parameter is required.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,12 +645,12 @@ def test_url_includes_api_version(self):
manager = _VoiceLiveConnectionManager(
credential=self.credential,
endpoint="https://test.azure.com",
api_version="2025-10-01",
api_version="2026-01-01-preview",
agent_config=agent_config,
extra_query={},
extra_headers={},
)

url = manager._prepare_url()

assert "api-version=2025-10-01" in url
assert "api-version=2026-01-01-preview" in url