Not seeing 4o mini realtime in the latest version....
# agents
f
Not seeing 4o mini realtime in the latest version. Has support for it been dropped? RealtimeModels = Literal[ "gpt-realtime", "gpt-realtime-2025-08-28", "gpt-4o-realtime-preview", ]
It looks like
gpt-4o-mini-realtime-preview
has stopped working in older versions also. Is anyone else facing this issue?
g
@tall-belgium-91876 @jolly-air-155?
j
in agents 1.2.9 the openai realtime switched to the generally available realtime API from the original beta version https://openai.com/index/introducing-gpt-realtime/ the
gpt-4o-mini-realtime-preview
is still supported
f
It seems like user speech is not being recognised with
gpt-4o-mini-realtime-preview
j
I just tested with
gpt-4o-mini-realtime-preview
and it worked
👀 1
f
Thanks, it is working now. We were using the half-duplex agent. ElevenLabs VoiceId was being passed for voice, it was working earlier but OpenAI has added some validations now which caused the agent to fail with this error
Copy code
Error(message="Invalid value: '2bNrEsM0omyhLiEyOwqY'. Supported values are: 'alloy', 'ash', 'ballad', 'coral', 'echo', 'sage', 'shimmer', 'verse', 'marin', and 'cedar'.", type='invalid_request_error', code='invalid_value', event_id='session_update_f8af22708860', param='session.voice')
j
@fancy-motherboard-28624 emm why do you pass the 11labs voice id to the openai realtime?
f
It was being passed unintentionally. It was working earlier, started failing now. It fails with voice=
None
also now when using modalities=[text]
j
I don’t think you need to set a voice when using text mode