mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
refactor: Update according to Chapter 2.1.3.2 of RFC 116
This commit is contained in:
parent
be19d9edcb
commit
fba70452f3
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ class Engineer(Role):
|
|||
|
||||
async def _think(self) -> None:
|
||||
# In asynchronous scenarios, first check if the required messages are ready.
|
||||
filters = {WriteTasks}
|
||||
filters = {get_class_name(WriteTasks)}
|
||||
msgs = self._rc.memory.get_by_actions(filters)
|
||||
if not msgs:
|
||||
self._rc.todo = None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue