[Bug]: Gemini `gemini-2.5-flash-preview-native-audio-dialog` does not work with /realtime
What happened?
While providing gemini/gemini-2.5-flash-preview-native-audio-dialog as custom model name, the /realtime endpoint returns error "Unsupported model: gemini-2.5-flash-preview-native-audio-dialog" even though it should be supported and share the same format as other gemini realtime models
Relevant log output
Unsupported model: gemini-2.5-flash-preview-native-audio-dialog
stack trace: Traceback (most recent call last):
File "/app/litellm/main.py", line 5556, in ahealth_check
_response = await mode_handlers[mode]()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/litellm/realtime_api/main.py", line 179, in _realtime_health_check
raise ValueError(f"Unsupported model: {model}")
ValueError: Unsupported model: gemini-2.5-flash-preview-native-audio-dialog
Are you a ML Ops Team?
No
What LiteLLM version are you on ?
v1.74.15
Twitter / LinkedIn details
No response
@AyrennC can we see the full stacktrace please?
@krrishdholakia , here is the log details
Unsupported model: gemini-2.5-flash-preview-native-audio-dialog
stack trace: Traceback (most recent call last):
File "/app/litellm/main.py", line 5556, in ahealth_check
_response = await mode_handlers[mode]()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/litellm/realtime_api/main.py", line 179, in _realtime_health_check
raise ValueError(f"Unsupported model: {model}")
ValueError: Unsupported model: gemini-2.5-flash-preview-native-audio-dialog
Bumping this thread as I'm running into a similar issue!
ack
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.