BerriAI/litellm · error · RuntimeError

Rust audio transcription bridge is unavailable

Error message

Rust audio transcription bridge is unavailable

What it means

Error "Rust audio transcription bridge is unavailable" thrown in BerriAI/litellm.

Source

Thrown at litellm/llms/bedrock/audio_transcription/__init__.py:57

        api_key: str | None,
        api_base: str | None,
        custom_llm_provider: str,
        extra_headers: dict[str, object] | None,
        optional_params: dict[str, object],
        timeout: float | httpx.Timeout | None,
    ) -> TranscriptionResponse:
        rust_response: Final = rust_transcription_bridge.transcription(
            model=model,
            audio=self._audio_payload(audio_file),
            api_key=api_key,
            api_base=api_base,
            custom_llm_provider=custom_llm_provider,
            extra_headers=extra_headers,
            optional_params=optional_params,
            timeout=timeout,
        )
        if rust_response is None:
            raise RuntimeError("Rust audio transcription bridge is unavailable")
        return TranscriptionResponse(**rust_response)

    async def async_audio_transcriptions(
        self,
        *,
        model: str,
        audio_file: FileTypes,
        api_key: str | None,
        api_base: str | None,
        custom_llm_provider: str,
        extra_headers: dict[str, object] | None,
        optional_params: dict[str, object],
        timeout: float | httpx.Timeout | None,
    ) -> TranscriptionResponse:
        rust_response: Final = await rust_transcription_bridge.atranscription(
            model=model,
            audio=self._audio_payload(audio_file),
            api_key=api_key,

View on GitHub (pinned to 6c2dcb801b)

Solutions

  1. The Rust audio transcription bridge is unavailable; install the required extra or use another transcription route.

When it happens

Trigger: Thrown at litellm/llms/bedrock/audio_transcription/__init__.py:57 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of BerriAI/litellm@6c2dcb801b (2026-08-15). Data as JSON: /api/errors/fb7f1840a7ca3919. Report an issue: GitHub.