mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
refactor: remove useless code
This commit is contained in:
parent
962109bd11
commit
c2ffee61e6
1 changed files with 0 additions and 9 deletions
|
|
@ -237,12 +237,3 @@ class Engineer(Role):
|
|||
return 1
|
||||
|
||||
return 0
|
||||
|
||||
async def _think(self) -> None:
|
||||
# In asynchronous scenarios, first check if the required messages are ready.
|
||||
msgs = self._rc.memory.get_by_actions({WriteTasks})
|
||||
if not msgs:
|
||||
self._rc.todo = None
|
||||
return
|
||||
|
||||
await super(Engineer, self)._think()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue