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
Set the response_format as it is
eycjur070094c739c6
diff --git a/litellm/llms/hosted_vllm/transcriptions/transformation.py b/litellm/llms/hosted_vllm/transcriptions/transformation.pyindex 5eeb892d846..e726ee33abf 100644--- a/litellm/llms/hosted_vllm/transcriptions/transformation.py+++ b/litellm/llms/hosted_vllm/transcriptions/transformation.py@@ -60,13 +60,6 @@ class HostedVLLMAudioTranscriptionConfig(OpenAIWhisperAudioTranscriptionConfig):data = {"model": model, "file": audio_file, **optional_params}- if "response_format" not in data or (- data["response_format"] == "text" or data["response_format"] == "json"- ):- data["response_format"] = (- "verbose_json" # ensures 'duration' is received - used for cost calculation- )-return AudioTranscriptionRequestData(data=data,)