You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
memory: delete tools report success when nothing matched #4740
The method returns void, so the handler never learns whether a name existed. A call naming an entity that is not in the graph reports the same success as one that deleted something.
Reproduction, against the real KnowledgeGraphManager:
awaitmanager.createEntities([{name: "Alice",entityType: "person",observations: []}]);awaitcallTool("delete_entities",{entityNames: ["Alise"]});// → { success: true, message: "Entities deleted successfully" }// Alice is still in the graph.
Same for delete_observations with an entity or observation that is absent, and delete_relations with a relation that matches nothing.
addObservations at line 167 throws Entity with name ${o.entityName} not found for the same condition, so the two paths in this file answer differently.
README.md documents the tools as silent when a target is missing, so not throwing looks intentional. The response claiming a deletion that did not occur is the part that appears unintended.
Activity