Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
fix: Patch typo in base.py (#1050)
Charles Packercb476c14c16b
diff --git a/memgpt/functions/function_sets/base.py b/memgpt/functions/function_sets/base.pyindex 95b1c13ad..55ab03dca 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.pyindex e6d853ec9..4446a6c10 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": {