From 070094c739c63ec2de68cfd440ea8d2d81124831 Mon Sep 17 00:00:00 2001 From: eycjur Date: Mon, 29 Sep 2025 08:11:24 +0900 Subject: [PATCH] Set the response_format as it is --- litellm/llms/hosted_vllm/transcriptions/transformation.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/litellm/llms/hosted_vllm/transcriptions/transformation.py b/litellm/llms/hosted_vllm/transcriptions/transformation.py index 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, )