Hello, I’m looking to use RealtimeModel.with_azure...
# agents
b
Hello, I’m looking to use RealtimeModel.with_azure. In the LiveKit documentation https://docs.livekit.io/agents/models/realtime/plugins/azure-openai/#additional-resources, the provided example references the Preview version using api-version. I would like to try the Generally Available (GA) model instead https://learn.microsoft.com/en-us/azure/ai-foundry/openai/how-to/realtime-audio-websockets?view=foundry-classic&tabs=ga#connection-a[…]uthentication. Could you please confirm if RealtimeModel.with_azure is compatible with the GA model, and if there are any specific changes required compared to the Preview example? Thank you for your help.
r
They should be compatible with Azure GA models.
w
@refined-appointment-81829 @lively-winter-88668 live kit plugin api reference says a false statement https://docs.livekit.io/reference/python/v1/livekit/plugins/openai/realtime/index.html#livekit.plugins.openai.realtime.RealtimeModel.with_azure "Create a RealtimeModelBeta configured for Azure OpenAI. Azure does not currently support the GA API, so we return RealtimeModelBeta instead of RealtimeModel." an it seems that it not possible to not pass the optional api-vesion query string (used for preview only) we tried to use RealtimeModel.with_azure and just RealtimeModel, but only RealtimeModelBeta works. Also there is an example for api-version 2025-08-28 but it does not work
l
I'm a bit confused as well, let me check...
w
any thoughts?
l
We only support the preview API still, but you should be able to access the GA model with it.