Code formatting and doc update (#2130)
This commit is contained in:
@@ -249,7 +249,7 @@ class Memory(MemoryBase):
|
||||
if self.api_version == "v1.1" and self.enable_graph:
|
||||
if filters.get("user_id") is None:
|
||||
filters["user_id"] = "user"
|
||||
|
||||
|
||||
data = "\n".join([msg["content"] for msg in messages if "content" in msg and msg["role"] != "system"])
|
||||
added_entities = self.graph.add(data, filters)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user