mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
FIx Format and Some bugs in android_assistant.py
This commit is contained in:
parent
0f0f41fb30
commit
732cf36fbc
13 changed files with 223 additions and 143 deletions
|
|
@ -76,7 +76,7 @@ class Team(BaseModel):
|
|||
|
||||
def hire(self, roles: list[Role]):
|
||||
"""Hire roles to cooperate"""
|
||||
only_role = roles[0]
|
||||
roles[0]
|
||||
self.env.add_roles(roles)
|
||||
|
||||
@property
|
||||
|
|
@ -134,4 +134,4 @@ class Team(BaseModel):
|
|||
|
||||
await self.env.run()
|
||||
self.env.archive(auto_archive)
|
||||
return self.env.history
|
||||
return self.env.history
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue