fix para type

This commit is contained in:
geekan 2023-07-04 12:15:09 +08:00
parent 748ef5535a
commit e89e0d8f67
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ ### Code walkthrough
from metagpt.software_company import SoftwareCompany
from 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()])