The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(audio): detect gpt-realtime models as audio-capable for Chat Completions
Chesarsc7ab631bb045
diff --git a/litellm/llms/openai/chat/gpt_audio_transformation.py b/litellm/llms/openai/chat/gpt_audio_transformation.pyindex 581ffea2db4..66270b1da9d 100644--- a/litellm/llms/openai/chat/gpt_audio_transformation.py+++ b/litellm/llms/openai/chat/gpt_audio_transformation.py@@ -29,7 +29,9 @@ class OpenAIGPTAudioConfig(OpenAIGPTConfig):return all_openai_params + audio_specific_paramsdef is_model_gpt_audio_model(self, model: str) -> bool:- if model in litellm.open_ai_chat_completion_models and "audio" in model:+ if model in litellm.open_ai_chat_completion_models and (+ "audio" in model or "realtime" in model+ ):return Truereturn False