mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
feat: + subscribe
This commit is contained in:
parent
526751073b
commit
834c59df19
1 changed files with 3 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ async def test_react():
|
|||
assert role._rc.watch == {seed.subscription}
|
||||
assert role.name == seed.name
|
||||
assert role.profile == seed.profile
|
||||
assert role._setting.goal == seed.goal
|
||||
assert role._setting.constraints == seed.constraints
|
||||
assert role._setting.desc == seed.desc
|
||||
assert role.is_idle
|
||||
env = Environment()
|
||||
env.add_role(role)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue