From c837a196d123f3f879a9aff2ccd51ca2299d02c3 Mon Sep 17 00:00:00 2001 From: cpacker Date: Mon, 26 Aug 2024 16:55:08 -0700 Subject: [PATCH] refactor: cleanup --- memgpt/schemas/memory.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/memgpt/schemas/memory.py b/memgpt/schemas/memory.py index e81692ce..73178077 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 = []