mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-28 18:36:22 +02:00
more intuitive naming & add a new attribute to message
This commit is contained in:
parent
cd98e54f36
commit
bbffb3f135
6 changed files with 19 additions and 18 deletions
|
|
@ -185,7 +185,7 @@ class Role:
|
|||
|
||||
observed = self._rc.env.memory.get_by_actions(self._rc.watch)
|
||||
|
||||
self._rc.news = self._rc.memory.remember(observed) # remember recent exact or similar memories
|
||||
self._rc.news = self._rc.memory.find_news(observed) # find news (previously unseen messages) from observed messages
|
||||
|
||||
for i in env_msgs:
|
||||
self.recv(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue