Minor fixes in procedural memory (#2469)

This commit is contained in:
Deshraj Yadav
2025-03-29 17:20:58 -07:00
committed by GitHub
parent 72bb631bb5
commit c1f5a655ba
4 changed files with 20 additions and 11 deletions

View File

@@ -101,7 +101,6 @@ class FAISS(VectorStoreBase):
faiss.write_index(self.index, index_path)
with open(docstore_path, "wb") as f:
pickle.dump((self.docstore, self.index_to_id), f)
logger.info(f"Saved FAISS index to {index_path} with {self.index.ntotal} vectors")
except Exception as e:
logger.warning(f"Failed to save FAISS index: {e}")