removed unused methods

This commit is contained in:
Yannick Stephan
2025-02-16 14:50:04 +01:00
parent a0844bca28
commit 9a5fbaaa5f
4 changed files with 4 additions and 41 deletions

View File

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