mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-15 11:02:36 +02:00
add test
This commit is contained in:
parent
664710e6e8
commit
cbfc62d7f3
3 changed files with 3 additions and 3 deletions
|
|
@ -35,4 +35,4 @@ async def test_action_planner():
|
|||
role.recv(Message(content=task, cause_by=BossRequirement))
|
||||
|
||||
await role._think() # it will choose mathskill.Add
|
||||
assert "1100" == (await role._act()).content.result
|
||||
assert "1100" == (await role._act()).content
|
||||
|
|
|
|||
|
|
@ -39,4 +39,4 @@ async def test_basic_planner():
|
|||
# assuming sk_agent will think he needs WriterSkill.Brainstorm and WriterSkill.Translate
|
||||
assert "WriterSkill.Brainstorm" in role.plan.generated_plan.result
|
||||
assert "WriterSkill.Translate" in role.plan.generated_plan.result
|
||||
await role._act()
|
||||
# assert "SALUT" in (await role._act()).content #content will be some French
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue