Skip to content

The agent engineering platform.

undo vectstore memory bug (#8007)

Bagaturea028b66ab91
diff --git a/langchain/memory/vectorstore.py b/langchain/memory/vectorstore.py
index 60e0ae7acc..7c6772fda6 100644
--- a/langchain/memory/vectorstore.py
+++ b/langchain/memory/vectorstore.py
@@ -64,7 +64,6 @@ class VectorStoreRetrieverMemory(BaseMemory):
texts = [
f"{k}: {v}"
for k, v in list(filtered_inputs.items()) + list(outputs.items())
- if k not in exclude
]
page_content = "\n".join(texts)
return [Document(page_content=page_content)]