[Bugfix] Fix edge case in UUID data parsing (#34884)

Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
Cyrus Leung
2026-02-19 02:24:30 -08:00
committed by GitHub
parent f6220f9877
commit 1391378861
2 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -482,7 +482,7 @@ class BaseRenderer(ABC, Generic[_T]):
)
elif uuid_items is not None:
if len(uuid_items) > 0 and len(data_items) != len(uuid_items):
if len(data_items) != len(uuid_items):
raise ValueError(
f"If given, multi_modal_uuids[{modality!r}] must have "
f"same length as multi_modal_data[{modality!r}], but "