Skip to content

[VoiceLive]Replace deprecated gpt-4o-realtime-preview with gpt-realtime in live tests#46773

Open
xitzhang wants to merge 2 commits intomainfrom
xitzhang/fixvltests
Open

[VoiceLive]Replace deprecated gpt-4o-realtime-preview with gpt-realtime in live tests#46773
xitzhang wants to merge 2 commits intomainfrom
xitzhang/fixvltests

Conversation

@xitzhang
Copy link
Copy Markdown
Member

@xitzhang xitzhang commented May 7, 2026

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 May 7, 2026 01:39
@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented May 7, 2026

/azp run
java - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

Copy link
Copy Markdown
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

Updates the VoiceLive live test suite to stop using the deprecated gpt-4o-realtime-preview model name and instead target gpt-realtime, keeping the tests aligned with the current service model identifiers.

Changes:

  • Updated model name parameterizations in live tests from gpt-4o-realtime-preview/gpt-4o-realtime to gpt-realtime.
  • Adjusted the speech recognition model selection logic to treat gpt-realtime* models as using whisper-1.

Comment thread sdk/voicelive/azure-ai-voicelive/tests/test_live_realtime_service.py Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@xitzhang
Copy link
Copy Markdown
Member Author

xitzhang commented May 7, 2026

/azp run java - azure-ai-voicelive - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

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