fixbug: exceed length

This commit is contained in:
莘权 马 2023-09-01 21:19:28 +08:00
parent 7babb5ef71
commit f2aaafbe00

View file

@ -59,7 +59,7 @@ class BrainMemory(pydantic.BaseModel):
self.history = []
else:
self.history = self.history[-1:]
self.history.insert(0, Message(content=history_summary))
self.history.insert(0, Message(content="RESOLVED: " + history_summary))
@property
def last_talk(self):