⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
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 swagger spec, a link to the pull request containing these swagger spec changes has been 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 January 14, 2026 20:37
@xitzhang xitzhang changed the title Add MCP sample with V2026_01_01_PREVIEW suppor Add MCP sample with V2026_01_01_PREVIEW support Jan 14, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 14, 2026

API Change Check

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

com.azure:azure-ai-voicelive

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 support for a new service version V2026_01_01_PREVIEW to the Azure VoiceLive SDK and includes an MCP (Model Context Protocol) sample demonstrating external tool integration with MCP servers. Note: The PR title contains a typo ("suppor" instead of "support").

Changes:

  • Added V2026_01_01_PREVIEW service version enum to VoiceLiveServiceVersion.java
  • Created new MCPSample.java demonstrating MCP server integration, approval workflows, and tool execution
  • The sample uses the new preview service version for MCP features

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 5 comments.

File Description
VoiceLiveServiceVersion.java Adds V2026_01_01_PREVIEW enum value for the new preview API version
MCPSample.java New comprehensive sample demonstrating MCP integration with voice conversations, tool calling, approval workflows, and audio processing
Comments suppressed due to low confidence (1)

sdk/ai/azure-ai-voicelive/src/main/java/com/azure/ai/voicelive/VoiceLiveServiceVersion.java:47

  • The getLatest() method returns V2025_10_01 but a newer version V2026_01_01_PREVIEW has been added. Consider whether the latest should point to the newest version (even if it's preview) or if the current behavior is intentional to return the latest stable version. The JavaDoc should clarify this behavior.
    public static VoiceLiveServiceVersion getLatest() {
        return V2025_10_01;

Copy link
Contributor

Copilot AI commented Jan 14, 2026

@xitzhang I've opened a new pull request, #47711, to work on those changes. Once the pull request is ready, I'll request review from you.

Copy link
Contributor

Copilot AI commented Jan 14, 2026

@xitzhang I've opened a new pull request, #47712, to work on those changes. Once the pull request is ready, I'll request review from you.

@xitzhang xitzhang enabled auto-merge (squash) January 15, 2026 23:45
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