feat: +rebuild project

feat: parse pass
This commit is contained in:
莘权 马 2024-01-02 18:42:59 +08:00
parent aec2b72c8d
commit eabe0224c5
8 changed files with 214 additions and 60 deletions

View file

@ -16,7 +16,9 @@ from metagpt.llm import LLM
@pytest.mark.asyncio
async def test_rebuild():
action = RebuildClassView(name="RedBean", context=Path(__file__).parent.parent, llm=LLM())
action = RebuildClassView(
name="RedBean", context=str(Path(__file__).parent.parent.parent.parent / "metagpt"), llm=LLM()
)
await action.run()