update failed examples

This commit is contained in:
张建生 2025-02-22 20:04:38 +08:00
parent 30a78a9249
commit c64dee43e9
3 changed files with 6 additions and 28 deletions

View file

@ -1,3 +0,0 @@
# -*- coding: utf-8 -*-
# @Author : stellahong (stellahong@fuzhi.ai)
# @Desc :

View file

@ -1,23 +0,0 @@
# -*- coding: utf-8 -*-
# @Author : stellahong (stellahong@fuzhi.ai)
# @Desc :
import asyncio
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"
# "帮我把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"
)
async def main(requirement: str = ""):
mgx = MGX(use_intent=True, tools=["<all>"])
await mgx.run(requirement)
if __name__ == "__main__":
asyncio.run(main(requirement))