fix: docs RAG query crashes on a non-dict row from the index (#1706)

This commit is contained in:
Afonso Coutinho
2026-06-03 05:35:01 +01:00
committed by GitHub
parent 076607c9b9
commit 86d3af743a
2 changed files with 27 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@ class DocsService:
metadata=r.get("metadata"),
)
for r in results
if isinstance(r, dict)
]
async def index(self, directory: str) -> IndexResult: