sync mgx_ops

This commit is contained in:
stellahsr 2024-04-10 17:35:04 +08:00
parent d30e542521
commit 04a5529cb3
2 changed files with 4 additions and 3 deletions

View file

@ -7,7 +7,9 @@ from metagpt.roles.di.mgx import MGX
requirement = (
# "design a game using Gym (an open source Python library), including a graphical interface and interactive gameplay"
'Create a "2048 game"'
# "帮我把pip的源设置成https://pypi.tuna.tsinghua.edu.cn/simple"
# "This is a website url does not require login: https://demosc.chinaz.net/Files/DownLoad//moban/202404/moban7767 please write a similar web page,developed in vue language, The package.json dependency must be generated"
"I would like to imitate the website available at https://demosc.chinaz.net/Files/DownLoad//moban/202404/moban7767. Could you please browse through it?"
# "Create a 2048 Game"
)

View file

@ -86,9 +86,8 @@ async def write_design(prd_path: str | Path) -> Path:
Path: The path to the system design files under the project directory.
Example:
>>> from metagpt.tools.libs.software_development import write_prd
>>> from metagpt.tools.libs.software_development import write_design
>>> prd_path = await write_prd("Create a new feature for the application")
>>> prd_path = '/path/to/project_path/docs/prd' # Returned by `write_prd`
>>> system_design_path = await write_desgin(prd_path)
>>> print(system_design_path)
'/path/to/project_path/docs/system_design/'