Merge remote-tracking branch 'origin/main' into graph-viewer-webui

This commit is contained in:
ArnoChen
2025-02-11 22:52:01 +08:00
4 changed files with 38 additions and 7 deletions

View File

@@ -632,7 +632,7 @@ class LightRAG:
]
try:
await asyncio.gather(*tasks)
await self.doc_status.upsert(
await self.doc_status.update_doc_status(
{
doc_status_id: {
"status": DocStatus.PROCESSED,
@@ -649,7 +649,7 @@ class LightRAG:
except Exception as e:
logger.error(f"Failed to process document {doc_id}: {str(e)}")
await self.doc_status.upsert(
await self.doc_status.update_doc_status(
{
doc_status_id: {
"status": DocStatus.FAILED,