fix: Patch typo in base.py (#1050)
This commit is contained in:
@@ -69,7 +69,7 @@ def core_memory_append(self, name: str, content: str) -> Optional[str]:
|
||||
|
||||
def core_memory_replace(self, name: str, old_content: str, new_content: str) -> Optional[str]:
|
||||
"""
|
||||
Replace to the contents of core memory. To delete memories, use an empty string for new_content.
|
||||
Replace the contents of core memory. To delete memories, use an empty string for new_content.
|
||||
|
||||
Args:
|
||||
name (str): Section of the memory to be edited (persona or human).
|
||||
|
||||
@@ -75,7 +75,7 @@ FUNCTIONS_CHAINING = {
|
||||
},
|
||||
"core_memory_replace": {
|
||||
"name": "core_memory_replace",
|
||||
"description": "Replace to the contents of core memory. To delete memories, use an empty string for new_content.",
|
||||
"description": "Replace the contents of core memory. To delete memories, use an empty string for new_content.",
|
||||
"parameters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user