feat: remove persona/human from tool descriptions (#3250)

Co-authored-by: Charles Packer <packercharles@gmail.com>
This commit is contained in:
Kevin Lin
2025-07-10 21:45:00 -07:00
committed by GitHub
parent 0804774f63
commit 98b691a553
4 changed files with 8 additions and 8 deletions

View File

@@ -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.

View File

@@ -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.

View File

@@ -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.

View File

@@ -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",