From 733b32bafb41f875092b2da1383d20a225520e10 Mon Sep 17 00:00:00 2001 From: bittergreen Date: Wed, 4 Mar 2026 15:24:03 +0800 Subject: [PATCH] fix: Stop throwing error when embedding is missing in add_nodes_batch function for Neo4j Community graphdb backend --- src/memos/graph_dbs/neo4j_community.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/memos/graph_dbs/neo4j_community.py b/src/memos/graph_dbs/neo4j_community.py index 09ad46c42..470d8cd8e 100644 --- a/src/memos/graph_dbs/neo4j_community.py +++ b/src/memos/graph_dbs/neo4j_community.py @@ -140,8 +140,6 @@ def add_nodes_batch(self, nodes: list[dict[str, Any]], user_name: str | None = N metadata.setdefault("delete_record_id", "") embedding = metadata.pop("embedding", None) - if embedding is None: - raise ValueError(f"Missing 'embedding' in metadata for node {node_id}") vector_sync_status = "success" vec_items.append(