This commit is contained in:
Timothy Jaeryang Baek 2025-09-01 14:27:20 +04:00
parent 609a6a3721
commit 4f2e426fc7

View file

@ -499,9 +499,7 @@ def get_sources_from_items(
"documents": [
[item.get("file", {}).get("data", {}).get("content")]
],
"metadatas": [
[item.get("file", {}).get("data", {}).get("meta", {})]
],
"metadatas": [[item.get("file", {}).get("meta", {})]],
}
else:
# Fallback to item content