mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
fix para type
This commit is contained in:
parent
748ef5535a
commit
e89e0d8f67
2 changed files with 2 additions and 2 deletions
|
|
@ -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()])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue