This commit is contained in:
Timothy Jaeryang Baek 2025-07-15 21:57:24 +04:00
parent 1f0cc2724a
commit 500e6e64fe

View file

@ -611,6 +611,9 @@ def get_sources_from_items(
elif item.get("collection_name"): elif item.get("collection_name"):
# Direct Collection Name # Direct Collection Name
collection_names.append(item["collection_name"]) collection_names.append(item["collection_name"])
elif item.get("collection_names"):
# Collection Names List
collection_names.extend(item["collection_names"])
# If query_result is None # If query_result is None
# Fallback to collection names and vector search the collections # Fallback to collection names and vector search the collections