diff --git a/letta/functions/function_sets/base.py b/letta/functions/function_sets/base.py index 2748f72c..948c9a11 100644 --- a/letta/functions/function_sets/base.py +++ b/letta/functions/function_sets/base.py @@ -135,7 +135,7 @@ def core_memory_append(agent_state: "AgentState", label: str, content: str) -> O Append to the contents of core memory. Args: - label (str): Section of the memory to be edited (persona or human). + label (str): Section of the memory to be edited. content (str): Content to write to the memory. All unicode (including emojis) are supported. Returns: @@ -152,7 +152,7 @@ def core_memory_replace(agent_state: "AgentState", label: str, old_content: str, Replace the contents of core memory. To delete memories, use an empty string for new_content. Args: - label (str): Section of the memory to be edited (persona or human). + label (str): Section of the memory to be edited. old_content (str): String to replace. Must be an exact match. new_content (str): Content to write to the memory. All unicode (including emojis) are supported. diff --git a/letta/schemas/memory.py b/letta/schemas/memory.py index 97658393..eac33ae7 100644 --- a/letta/schemas/memory.py +++ b/letta/schemas/memory.py @@ -210,7 +210,7 @@ class BasicBlockMemory(Memory): Append to the contents of core memory. Args: - label (str): Section of the memory to be edited (persona or human). + label (str): Section of the memory to be edited. content (str): Content to write to the memory. All unicode (including emojis) are supported. Returns: @@ -226,7 +226,7 @@ class BasicBlockMemory(Memory): Replace the contents of core memory. To delete memories, use an empty string for new_content. Args: - label (str): Section of the memory to be edited (persona or human). + label (str): Section of the memory to be edited. old_content (str): String to replace. Must be an exact match. new_content (str): Content to write to the memory. All unicode (including emojis) are supported. diff --git a/letta/services/tool_executor/core_tool_executor.py b/letta/services/tool_executor/core_tool_executor.py index 11c487d0..8883890f 100644 --- a/letta/services/tool_executor/core_tool_executor.py +++ b/letta/services/tool_executor/core_tool_executor.py @@ -188,7 +188,7 @@ class LettaCoreToolExecutor(ToolExecutor): Append to the contents of core memory. Args: - label (str): Section of the memory to be edited (persona or human). + label (str): Section of the memory to be edited. content (str): Content to write to the memory. All unicode (including emojis) are supported. Returns: @@ -214,7 +214,7 @@ class LettaCoreToolExecutor(ToolExecutor): Replace the contents of core memory. To delete memories, use an empty string for new_content. Args: - label (str): Section of the memory to be edited (persona or human). + label (str): Section of the memory to be edited. old_content (str): String to replace. Must be an exact match. new_content (str): Content to write to the memory. All unicode (including emojis) are supported. diff --git a/test_agent_serialization.json b/test_agent_serialization.json index 6efaab99..818d9e7e 100644 --- a/test_agent_serialization.json +++ b/test_agent_serialization.json @@ -306,7 +306,7 @@ "properties": { "label": { "type": "string", - "description": "Section of the memory to be edited (persona or human)." + "description": "Section of the memory to be edited." }, "content": { "type": "string", @@ -343,7 +343,7 @@ "properties": { "label": { "type": "string", - "description": "Section of the memory to be edited (persona or human)." + "description": "Section of the memory to be edited." }, "old_content": { "type": "string",