feat: +software company test pass

This commit is contained in:
莘权 马 2024-03-30 17:55:30 +08:00
parent e5cabbe3cd
commit cc3567a4a1
5 changed files with 15 additions and 9 deletions

View file

@ -14,7 +14,7 @@ from tests.metagpt.actions.test_intent_detect import DEMO_CONTENT
@pytest.mark.parametrize("user_messages", [[Message.model_validate(i) for i in DEMO_CONTENT if i["role"] == "user"]])
async def test_mgx(user_messages: List[Message]):
ctx = Context()
mgx = MGX(context=ctx)
mgx = MGX(context=ctx, tools=["<all>"])
for i in user_messages:
await mgx.run(i)