Skip to content

armgit / letta

Public Imported from GitHub
0

Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.

refactor: cleanup

cpackerc837a196d123
diff --git a/memgpt/schemas/memory.py b/memgpt/schemas/memory.py
index e81692cee..731780772 100644
--- a/memgpt/schemas/memory.py
+++ b/memgpt/schemas/memory.py
@@ -19,9 +19,6 @@ class Memory(BaseModel, validate_assignment=True):
obj.memory[key] = Block(**value)
return obj
- def __str__(self) -> str:
- raise NotImplementedError("Use the .compile() method instead")
-
def compile(self) -> str:
"""Generate a string representation of the memory in-context"""
section_strs = []