Skip to content

Conversation

@xitzhang
Copy link
Member

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new API spec, a link to the pull request containing these API spec changes should be included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

Copilot AI review requested due to automatic review settings November 13, 2025 22:41
@xitzhang xitzhang requested a review from rhurey as a code owner November 13, 2025 22:41
Copilot finished reviewing on behalf of xitzhang November 13, 2025 22:43
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds comprehensive Model Context Protocol (MCP) support to the Azure AI VoiceLive SDK as part of the 1.2.0b1 beta release. The changes include new models, enums, server events, and client events to enable MCP integration with VoiceLive endpoints.

Key Changes:

  • Added MCP server configuration models (MCPServer, MCPTool, MCPApprovalType)
  • Introduced new item types for MCP operations (approval requests/responses, tool calls, tool listings)
  • Added server events for tracking MCP operations (list tools, call arguments)
  • Extended enums with MCP-related types and event types
  • Added comprehensive unit tests for all new MCP functionality

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
azure/ai/voicelive/_version.py Version bumped from 1.1.0 to 1.2.0b1 for beta release
azure/ai/voicelive/models/_models.py Added MCPServer, MCPTool, and 7 new MCP-related item/event classes with docstrings
azure/ai/voicelive/models/_enums.py Added MCPApprovalType enum and extended ItemType, ClientEventType, ServerEventType, ToolType with MCP values
azure/ai/voicelive/models/__init__.py Exported all new MCP-related classes and enums
tests/test_unit_models.py Added 370 lines of comprehensive tests for MCP models across 4 test classes
samples/basic_voice_assistant_async.py Applied code formatting improvements (no functional changes)
pyproject.toml Changed development status to Beta, added generated_tests/samples to excludes
CHANGELOG.md Added release notes for 1.2.0b1 with MCP feature descriptions
apiview-properties.json Registered all new MCP models for API view

@github-actions
Copy link

github-actions bot commented Nov 13, 2025

API Change Check

APIView identified API level changes in this PR and created the following API reviews

azure-ai-voicelive

@xitzhang xitzhang enabled auto-merge (squash) November 14, 2025 00:25
@xitzhang xitzhang merged commit 738735b into main Nov 14, 2025
20 checks passed
@xitzhang xitzhang deleted the xitzhang/vlopenai branch November 14, 2025 00:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants