feat: remove persona/human from tool descriptions (#3250)
Co-authored-by: Charles Packer <packercharles@gmail.com>
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user