mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix: align Titan image detection with Nova — restrict to data:image/ prefix
This commit is contained in:
parent
660679c784
commit
52192b2448
1 changed files with 1 additions and 1 deletions
|
|
@ -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: (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue