gzdaniel commited on
Commit
33b704f
·
1 Parent(s): 2678073

Fix linting

Browse files
Files changed (1) hide show
  1. lightrag/lightrag.py +2 -2
lightrag/lightrag.py CHANGED
@@ -1026,7 +1026,7 @@ class LightRAG:
1026
 
1027
  # Persistent llm cache
1028
  if self.llm_response_cache:
1029
- await self.llm_response_cache.index_done_callback
1030
 
1031
  # Update document status to failed
1032
  await self.doc_status.upsert(
@@ -1106,7 +1106,7 @@ class LightRAG:
1106
 
1107
  # Persistent llm cache
1108
  if self.llm_response_cache:
1109
- await self.llm_response_cache.index_done_callback
1110
 
1111
  # Update document status to failed
1112
  await self.doc_status.upsert(
 
1026
 
1027
  # Persistent llm cache
1028
  if self.llm_response_cache:
1029
+ await self.llm_response_cache.index_done_callback()
1030
 
1031
  # Update document status to failed
1032
  await self.doc_status.upsert(
 
1106
 
1107
  # Persistent llm cache
1108
  if self.llm_response_cache:
1109
+ await self.llm_response_cache.index_done_callback()
1110
 
1111
  # Update document status to failed
1112
  await self.doc_status.upsert(