Skip to content

Python: Bug: Python - Semantic Kernel Realtime isn't supporting the GA versions of Azure OpenAI realtime models #13267

Closed

Description

Describe the bug
When attempting to use any of the new GA models in Azure OpenAI for Semantic Kernel Realtime, you're faced with an error

To Reproduce
Steps to reproduce the behavior:

  1. Deploy a GA model from Azure OpenAI
  2. give any name that's not in this list ('gpt-4o-realtime-preview', 'gpt-4o-realtime-preview-2024-10-01', 'gpt-4o-realtime-preview-2024-12-17', 'gpt-4o-realtime-preview-2025-06-03', 'gpt-4o-mini-realtime-preview' or 'gpt-4o-mini-realtime-preview-2024-12-17')
  3. Run a code sample from https://learn.microsoft.com/en-us/semantic-kernel/concepts/ai-services/realtime?pivots=programming-language-python or https://github.com/Azure-Samples/AI-Gateway/blob/main/labs/realtime-mcp-agents/realtime-mcp-agents.ipynb
  4. See error

session.model Input should be 'gpt-4o-realtime-preview', 'gpt-4o-realtime-preview-2024-10-01', 'gpt-4o-realtime-preview-2024-12-17', 'gpt-4o-realtime-preview-2025-06-03', 'gpt-4o-mini-realtime-preview' or 'gpt-4o-mini-realtime-preview-2024-12-17' [type=literal_error, input_value='gpt-realtime', input_type=str] For further information visit https://errors.pydantic.dev/2.11/v/literal_error

Expected behavior
It should work as expected as it used to whilst we still had preview models

Additional context
Workaround, at deployment time, name the GA model as gpt-4o-realtime-preview

Platform

  • Language: Python
  • Source: semantic-kernelrealtime, semantic-kernel-1.37.0
  • AI model: gpt-realtime-mini, gpt-realtime
  • IDE: VS Code
  • OS: Linux - WSL

Activity

  1. changed the title [-]Bug: Python - Semantic Kernel Realtime isn't supporting the GA versions of Azure OpenAI realtime models[/-] [+]Python: Bug: Python - Semantic Kernel Realtime isn't supporting the GA versions of Azure OpenAI realtime models[/+] on Oct 20, 2025
  2. moonbox3 commented on Oct 24, 2025

    @moonbox3
    Collaborator

    In progress, FYI

  3. github-actions commented on Jan 23, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open for 90 days with no activity.

  4. added
    staleIssue is stale because it has been open for a while and has no activity
    on Jan 23, 2026
  5. github-actions commented on Feb 6, 2026

    @github-actions
    Contributor

    This issue was closed because it has been inactive for 14 days since being marked as stale.

  6. moonbox3 commented on Feb 27, 2026

    @moonbox3
    Collaborator

    Solved in #13291

  7. added a commit that references this issue on Feb 28, 2026
    429dd1c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

ai connectorAnything related to AI connectorsbugSomething isn't workingpythonPull requests for the Python Semantic KernelstaleIssue is stale because it has been open for a while and has no activitytriage

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions