From 606e264c9c6ba99ae0c04a8463d37d85568f0c86 Mon Sep 17 00:00:00 2001 From: batsumaru <> Date: Mon, 14 Sep 2026 17:33:50 +0900 Subject: Wired tools to agent --- tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools.py') diff --git a/tools.py b/tools.py index 54c837e..78299b8 100644 --- a/tools.py +++ b/tools.py @@ -213,7 +213,7 @@ class MemoryRemoveFactTool(Tool): if not isinstance(fact, str): raise ToolError("fact must be a string") - self.memory.add_fact(fact) + self.memory.remove_fact(fact) return ToolResult(content=f"Removed fact: {fact}") @@ -249,7 +249,7 @@ class MemoryRemoveNoteTool(Tool): if not isinstance(note, str): raise ToolError("note must be a string") - self.memory.add_note(note) + self.memory.remove_note(note) return ToolResult(content=f"Removed note: {note}") -- cgit v1.3