Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

feat: Add `memory_apply_patch` to base tools (#6491)

Kevin Lin1ca9df0626ac
diff --git a/letta/constants.py b/letta/constants.py
index 2c11d968f..bc3209340 100644
--- a/letta/constants.py
+++ b/letta/constants.py
@@ -93,7 +93,7 @@ SEND_MESSAGE_TOOL_NAME = "send_message"
BASE_TOOLS = [SEND_MESSAGE_TOOL_NAME, "conversation_search", "archival_memory_insert", "archival_memory_search"]
DEPRECATED_LETTA_TOOLS = ["archival_memory_insert", "archival_memory_search"]
# Base memory tools CAN be edited, and are added by default by the server
-BASE_MEMORY_TOOLS = ["core_memory_append", "core_memory_replace", "memory"]
+BASE_MEMORY_TOOLS = ["core_memory_append", "core_memory_replace", "memory", "memory_apply_patch"]
# New v2 collection of the base memory tools (effecitvely same as sleeptime set), to pair with memgpt_v2 prompt
BASE_MEMORY_TOOLS_V2 = [
"memory_replace",