mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
feat: rm AISelfMessage
This commit is contained in:
parent
7616d8c6d3
commit
76eca0e924
1 changed files with 2 additions and 1 deletions
|
|
@ -207,7 +207,8 @@ class Environment(ExtEnv):
|
|||
future = role.run()
|
||||
futures.append(future)
|
||||
|
||||
await asyncio.gather(*futures)
|
||||
if futures:
|
||||
await asyncio.gather(*futures)
|
||||
logger.debug(f"is idle: {self.is_idle}")
|
||||
|
||||
def get_roles(self) -> dict[str, "Role"]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue