mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fixbug: exceed length
This commit is contained in:
parent
7babb5ef71
commit
f2aaafbe00
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue