🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
fix para type
geekane89e0d8f6712
diff --git a/README.md b/README.mdindex d580c59e7..94f1cf9a8 100644--- a/README.md+++ b/README.md@@ -77,7 +77,7 @@ After running the script, you can find your new project in the `workspace/` direfrom metagpt.software_company import SoftwareCompanyfrom metagpt.roles import ProjectManager, ProductManager, Architect, Engineer-async def startup(idea: str, investment: str = '$3.0', n_round: int = 5):+async def startup(idea: str, investment: float = 3.0, n_round: int = 5):"""Run a startup. Be a boss."""company = SoftwareCompany()company.hire([ProductManager(), Architect(), ProjectManager(), Engineer()])diff --git a/docs/README_CN.md b/docs/README_CN.mdindex 66c67d803..0deb9717c 100644--- a/docs/README_CN.md+++ b/docs/README_CN.md@@ -77,7 +77,7 @@ python startup.py "写一个命令行贪吃蛇"from metagpt.software_company import SoftwareCompanyfrom metagpt.roles import ProjectManager, ProductManager, Architect, Engineer-async def startup(idea: str, investment: str = '$3.0', n_round: int = 5):+async def startup(idea: str, investment: float = 3.0, n_round: int = 5):"""运行一个创业公司。做一个老板"""company = SoftwareCompany()company.hire([ProductManager(), Architect(), ProjectManager(), Engineer()])