🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
refactor: Update according to Chapter 2.1.3.2 of RFC 116
莘权 马d1977f15864b
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.pyindex 5f54e57e0..59342fa99 100644--- a/metagpt/roles/role.py+++ b/metagpt/roles/role.py@@ -146,7 +146,7 @@ class Role:"""Listen to the corresponding behaviors"""self._subscription = tagsif 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."""