Skip to content

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]

fix(azure): apply same duration hidden_params fix to Azure transcription handler

Chesars5f957add18d0
diff --git a/litellm/llms/azure/audio_transcriptions.py b/litellm/llms/azure/audio_transcriptions.py
index 8519b1c35a5..70b2f1ccc08 100644
--- a/litellm/llms/azure/audio_transcriptions.py
+++ b/litellm/llms/azure/audio_transcriptions.py
@@ -158,7 +158,7 @@ class AzureAudioTranscription(AzureChatCompletion):
else:
stringified_response = TranscriptionResponse(text=response).model_dump()
duration = extract_duration_from_srt_or_vtt(response)
- stringified_response["duration"] = duration
+ stringified_response["_audio_transcription_duration"] = duration
## LOGGING
logging_obj.post_call(