BerriAI/litellm · error · NotImplementedError
AudioTranscriptionConfig needs a request transformation for
Error message
AudioTranscriptionConfig needs a request transformation for audio transcription models
What it means
Error "AudioTranscriptionConfig needs a request transformation for audio transcription models" thrown in BerriAI/litellm.
Source
Thrown at litellm/llms/base_llm/audio_transcription/transformation.py:69
) -> str:
"""
OPTIONAL
Get the complete url for the request
Some providers need `model` in `api_base`
"""
return api_base or ""
@abstractmethod
def transform_audio_transcription_request(
self,
model: str,
audio_file: FileTypes,
optional_params: dict,
litellm_params: dict,
) -> AudioTranscriptionRequestData:
raise NotImplementedError(
"AudioTranscriptionConfig needs a request transformation for audio transcription models"
)
def transform_audio_transcription_response(
self,
raw_response: httpx.Response,
) -> TranscriptionResponse:
raise NotImplementedError(
"AudioTranscriptionConfig does not need a response transformation for audio transcription models"
)
def transform_request(
self,
model: str,
messages: list[AllMessageValues],
optional_params: dict,
litellm_params: dict,
headers: dict,View on GitHub (pinned to 77b7c6c40c)
Solutions
- Use a concrete AudioTranscriptionConfig subclass that implements the request transformation.
When it happens
Trigger: Thrown at litellm/llms/base_llm/audio_transcription/transformation.py:69 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of BerriAI/litellm@77b7c6c40c (2026-08-18).
Data as JSON: /api/errors/1b3450e1ff5ca5c5.
Report an issue: GitHub.