Skip to content

Commit

Permalink
Merge pull request #555 from ParisNeo/main
Browse files Browse the repository at this point in the history
Restore backwards compatibility for LightRAG's ainsert method
  • Loading branch information
LarFii authored Jan 9, 2025
2 parents 7973f46 + 65c1450 commit 92ccfa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightrag/lightrag.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ def insert(self, string_or_strings, split_by_character=None):
self.ainsert(string_or_strings, split_by_character)
)

async def ainsert(self, string_or_strings, split_by_character):
async def ainsert(self, string_or_strings, split_by_character=None):
"""Insert documents with checkpoint support
Args:
Expand Down

0 comments on commit 92ccfa2

Please sign in to comment.