Skip to content

Commit 725e381

Browse files
committed
[Fix] Set right modality string when adding multi-modal item to the prompt.
Signed-off-by: Michele Gazzetti <[email protected]>
1 parent 567500a commit 725e381

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/entrypoints/chat_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ def parse_tensors(self,
772772

773773
if isinstance(tensor_encodings, str):
774774
tensor= self._connector.fetch_tensor_encoding(tensor_encodings)
775-
placeholder = self._tracker.add("image_embeds", tensor)
775+
placeholder = self._tracker.add(modality_str, tensor)
776776

777777
self._add_placeholder(placeholder)
778778

0 commit comments

Comments
 (0)