Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahwooders committed Sep 18, 2024
1 parent 9ec16fc commit ab8f3c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions memgpt/agent_store/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ def insert_many(self, records, exists_ok=True, show_progress=False):
return

added_ids = [] # avoid adding duplicates
# NOTE: this has not great performance due to the excessive commits
with self.session_maker() as session:
iterable = tqdm(records) if show_progress else records
for record in iterable:
Expand Down

0 comments on commit ab8f3c2

Please sign in to comment.