From 52192b24489851e4e75eb2a0ef17040fa8493c7d Mon Sep 17 00:00:00 2001 From: serhiim Date: Tue, 14 Apr 2026 18:43:16 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20align=20Titan=20image=20detection=20with?= =?UTF-8?q?=20Nova=20=E2=80=94=20restrict=20to=20data:image/=20prefix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litellm/llms/bedrock/embed/embedding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/bedrock/embed/embedding.py b/litellm/llms/bedrock/embed/embedding.py index 411c6c04d14..36e89f83f07 100644 --- a/litellm/llms/bedrock/embed/embedding.py +++ b/litellm/llms/bedrock/embed/embedding.py @@ -464,7 +464,7 @@ class BedrockEmbedding(BaseAWSLLM): and not current.startswith("data:") and next_elem is not None and isinstance(next_elem, str) - and next_elem.startswith("data:") + and next_elem.startswith("data:image/") ): # Text followed by image → combined request transformed_request: (