Skip to content

"gpt-realtime" model is not usable for the RealtimeRunner #1708

@aligokalppeker

Description

@aligokalppeker

Describe the bug

The gpt-realtime model can not be used with the Realtime Agent.

Debug information

  • Agents SDK version: (v0.2.11)
  • Python version (Python 3.13)

Repro steps

When you create the runner with the "gpt-realtime" model with the following code;

RealtimeRunner(
            starting_agent=triage_agent,
            config=RealtimeRunConfig(model_settings=RealtimeSessionModelSettings(model_name="gpt-realtime")))

Then the bot fails with the Pydantic validation error.
It appears that the agent utilizes beta versions of the OpenAI SDK models.

Expected behavior

Expecting the model to be used with the general available model. The same model can be used when connecting to the "realtime" agent through the raw WebSocket interface.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions