mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
refactor: brain memory
This commit is contained in:
parent
12b2fcd4be
commit
24a3e72572
1 changed files with 1 additions and 1 deletions
|
|
@ -181,7 +181,7 @@ class BrainMemory(pydantic.BaseModel):
|
|||
m.content = m.content[0:left]
|
||||
msgs.append(m.dict())
|
||||
break
|
||||
msgs.append(m.dict())
|
||||
msgs.append(i)
|
||||
total_length += delta
|
||||
self.history = msgs
|
||||
self.is_dirty = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue