BerriAI/litellm · error · NotImplementedError

AudioTranscriptionConfig does not need a request transformat

Error message

AudioTranscriptionConfig does not need a request transformation for audio transcription models

What it means

Error "AudioTranscriptionConfig does not need a request transformation for audio transcription models" thrown in BerriAI/litellm.

Source

Thrown at litellm/llms/base_llm/audio_transcription/transformation.py:89

        )

    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,
    ) -> dict:
        raise NotImplementedError(
            "AudioTranscriptionConfig does not need a request transformation for audio transcription models"
        )

    def transform_response(
        self,
        model: str,
        raw_response: httpx.Response,
        model_response: ModelResponse,
        logging_obj: LiteLLMLoggingObj,
        request_data: dict,
        messages: list[AllMessageValues],
        optional_params: dict,
        litellm_params: dict,
        encoding: Any,
        api_key: str | None = None,
        json_mode: bool | None = None,
    ) -> ModelResponse:
        raise NotImplementedError(

View on GitHub (pinned to 77b7c6c40c)

Solutions

  1. Use a concrete provider config subclass; the base class does not implement this transformation.

When it happens

Trigger: Thrown at litellm/llms/base_llm/audio_transcription/transformation.py:89 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/790cef76b3cf4638. Report an issue: GitHub.