Merge pull request #1304 from FeHuynhVI/main

Fixes a bug where file_path was not present dictionary
This commit is contained in:
zrguo
2025-04-10 14:08:11 +10:00
committed by GitHub

View File

@@ -1058,6 +1058,7 @@ async def mix_kg_vector_query(
chunk_with_time = { chunk_with_time = {
"content": chunk["content"], "content": chunk["content"],
"created_at": result.get("created_at", None), "created_at": result.get("created_at", None),
"file_path": result.get("file_path", None),
} }
valid_chunks.append(chunk_with_time) valid_chunks.append(chunk_with_time)