mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
first pipeline framework
This commit is contained in:
parent
bbffb3f135
commit
2e6cc6540b
15 changed files with 445 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ def env():
|
|||
def test_add_role(env: Environment):
|
||||
role = ProductManager("Alice", "product manager", "create a new product", "limited resources")
|
||||
env.add_role(role)
|
||||
assert env.get_role(role.profile) == role
|
||||
assert env.get_role(str(role._setting)) == role
|
||||
|
||||
|
||||
def test_get_roles(env: Environment):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue