This commit is contained in:
femto 2023-09-16 20:37:14 +08:00
parent 664710e6e8
commit cbfc62d7f3
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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