From deb79b81ca495aa52efc8323ef52576f78986cd6 Mon Sep 17 00:00:00 2001 From: martin legrand Date: Mon, 5 May 2025 18:32:06 +0200 Subject: [PATCH] fix: typo --- sources/memory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/memory.py b/sources/memory.py index 86535aa..6c76fdb 100644 --- a/sources/memory.py +++ b/sources/memory.py @@ -238,7 +238,7 @@ class Memory(): if len(self.memory[i]['content']) > 1024: self.memory[i]['content'] = self.summarize(self.memory[i]['content']) - def trip_text_to_max_ctx(self, text: str) -> str: + def trim_text_to_max_ctx(self, text: str) -> str: """ Truncate a text to fit within the maximum context size of the model. """