Update vllm/entrypoints/chat_utils.py

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Signed-off-by: wangln19 <96399074+wangln19@users.noreply.github.com>
This commit is contained in:
wangln19
2026-01-05 11:42:23 +08:00
committed by GitHub
co-authored by Zaida Zhou
parent 26898aa7aa
commit 4502ffce65
+1 -1
View File
@@ -753,7 +753,7 @@ def build_video_prompts_from_mm_data(
video_prompts_dict[video_idx].append(prompt)
elif hasattr(item, "type") and getattr(item, "type", None) == "video_chunk":
video_idx = getattr(item, "video_idx", 0)
prompt = getattr(item, "prompt", None) or ""
prompt = getattr(item, "prompt", "")
video_prompts_dict[video_idx].append(prompt)
# Build prompts in video order