FIx Format and Some bugs in android_assistant.py

This commit is contained in:
didi 2024-03-04 16:47:27 +08:00 committed by better629
parent 0f0f41fb30
commit 732cf36fbc
13 changed files with 223 additions and 143 deletions

View file

@ -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