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(bedrock): import assert_never from typing_extensions for Python 3.10

mateo-berrie2560390770b
diff --git a/litellm/llms/bedrock/embed/twelvelabs_marengo_3_transformation.py b/litellm/llms/bedrock/embed/twelvelabs_marengo_3_transformation.py
index 2ea99db47f0..0f61d37258f 100644
--- a/litellm/llms/bedrock/embed/twelvelabs_marengo_3_transformation.py
+++ b/litellm/llms/bedrock/embed/twelvelabs_marengo_3_transformation.py
@@ -7,9 +7,10 @@ Docs - https://docs.aws.amazon.com/bedrock/latest/userguide/model-parameters-mar
from collections.abc import Mapping
from types import MappingProxyType
-from typing import Final, assert_never
+from typing import Final
from pydantic import BaseModel, ConfigDict, TypeAdapter, ValidationError
+from typing_extensions import assert_never
from litellm.llms.bedrock.common_utils import BedrockError
from litellm.types.llms.bedrock import (