mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
feat: fix memory.add
This commit is contained in:
parent
2d1d55f7cb
commit
49f0b5e9f1
1 changed files with 1 additions and 1 deletions
|
|
@ -214,7 +214,7 @@ class Role:
|
|||
)
|
||||
else:
|
||||
msg = Message(content=response, role=self.profile, cause_by=self._rc.todo)
|
||||
self._rc.memory.add(msg)
|
||||
self._rc.memory.add(msg)
|
||||
|
||||
return msg
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue