diff --git a/memgpt/functions/function_sets/base.py b/memgpt/functions/function_sets/base.py index 95b1c13a..55ab03dc 100644 --- a/memgpt/functions/function_sets/base.py +++ b/memgpt/functions/function_sets/base.py @@ -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). diff --git a/memgpt/prompts/gpt_functions.py b/memgpt/prompts/gpt_functions.py index e6d853ec..4446a6c1 100644 --- a/memgpt/prompts/gpt_functions.py +++ b/memgpt/prompts/gpt_functions.py @@ -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": {