mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-27 14:25:20 +02:00
feat: fix memory.add
This commit is contained in:
parent
9745dd12f6
commit
f2de34fdad
1 changed files with 1 additions and 1 deletions
|
|
@ -217,7 +217,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