mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
refactor: Update according to Chapter 2.1.3.2 of RFC 116
This commit is contained in:
parent
9cdbc0a0ae
commit
d1977f1586
1 changed files with 1 additions and 1 deletions
|
|
@ -146,7 +146,7 @@ class Role:
|
|||
"""Listen to the corresponding behaviors"""
|
||||
self._subscription = tags
|
||||
if self._rc.env: # According to the routing feature plan in Chapter 2.2.3.2 of RFC 113
|
||||
self._rc.env.set_subscribed_tags(self, self._subscription)
|
||||
self._rc.env.set_subscription(self, self._subscription)
|
||||
|
||||
def _set_state(self, state):
|
||||
"""Update the current state."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue