Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

fix merge problem

better6296e1b17402380
diff --git a/examples/llm_hello_world.py b/examples/llm_hello_world.py
index 8321b64ca..2a6bf9c05 100644
--- a/examples/llm_hello_world.py
+++ b/examples/llm_hello_world.py
@@ -40,15 +40,6 @@ async def main():
if hasattr(llm, "completion"):
logger.info(llm.completion(hello_msg))
- # check llm-vision capacity if it supports
- invoice_path = Path(__file__).parent.joinpath("..", "tests", "data", "invoices", "invoice-2.png")
- img_base64 = encode_image(invoice_path)
- try:
- res = await llm.aask(msg="if this is a invoice, just return True else return False", images=[img_base64])
- assert "true" in res.lower()
- except Exception:
- pass
-
if __name__ == "__main__":
asyncio.run(main())
diff --git a/metagpt/team.py b/metagpt/team.py
index beb1d6186..35f987b57 100644
--- a/metagpt/team.py
+++ b/metagpt/team.py
@@ -76,7 +76,6 @@ class Team(BaseModel):
def hire(self, roles: list[Role]):
"""Hire roles to cooperate"""
- roles[0]
self.env.add_roles(roles)
@property