mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-20 15:38:09 +02:00
feat: +software company test pass
This commit is contained in:
parent
e5cabbe3cd
commit
cc3567a4a1
5 changed files with 15 additions and 9 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue