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: (