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
commit 1c1afb4eaf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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