mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
fixbug: utilize the new message filtering feature
This commit is contained in:
parent
ff11cf69af
commit
1be1bb56e3
1 changed files with 2 additions and 1 deletions
|
|
@ -239,8 +239,9 @@ class Engineer(Role):
|
|||
if not message.cause_by == get_class_name(WriteTasks):
|
||||
continue
|
||||
self.todos = self.parse_tasks(message)
|
||||
return 1
|
||||
|
||||
return ret
|
||||
return 0
|
||||
|
||||
async def _think(self) -> None:
|
||||
# In asynchronous scenarios, first check if the required messages are ready.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue