Skip to content

Conversation

Mte90
Copy link
Contributor

@Mte90 Mte90 commented Aug 25, 2025

Title

Implements the duration parameter in the rest response for the audio transcription, include also a bugfix for the response_cost.
The issue was tested with vllm, I don't have time for tests but I want to share the code that fix the issue for someone else.

Relevant issues

Fixes #11846

Pre-Submission checklist

Please complete all items before asking a LiteLLM maintainer to review your PR

  • I have Added testing in the tests/litellm/ directory, Adding at least 1 test is a hard requirement - see details
  • I have added a screenshot of my new test passing locally
  • My PR passes all unit tests on make test-unit
  • My PR's scope is as isolated as possible, it only solves 1 specific problem

Type

🐛 Bug Fix

Changes

♬ Guns N' Roses - Sweet child o' mine
Copy link

vercel bot commented Aug 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
litellm Ready Ready Preview Comment Aug 25, 2025 0:35am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: audio transcription cost is always 0
1 participant