feat: add software team tool lib

This commit is contained in:
莘权 马 2024-03-20 11:20:04 +08:00
parent 155a5a8c65
commit a994716eb2
3 changed files with 58 additions and 3 deletions

View file

@ -12,7 +12,7 @@ from metagpt.utils.common import any_to_str
@register_tool(tags=["software company", "ProductManager"])
async def write_prd(idea: str, project_path: Optional[str | Path]) -> Path:
async def write_prd(idea: str, project_path: Optional[str | Path] = None) -> Path:
"""Writes a PRD based on user requirements.
Args: