mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-05 02:25:27 +00:00
fix: typo
This commit is contained in:
parent
24dc1e1a2c
commit
deb79b81ca
@ -238,7 +238,7 @@ class Memory():
|
|||||||
if len(self.memory[i]['content']) > 1024:
|
if len(self.memory[i]['content']) > 1024:
|
||||||
self.memory[i]['content'] = self.summarize(self.memory[i]['content'])
|
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.
|
Truncate a text to fit within the maximum context size of the model.
|
||||||
"""
|
"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user