Skip to content

🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming

refactor: Update according to Chapter 2.1.3.2 of RFC 116

莘权 马7a2193c3d26a
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index 59342fa99..f3e11b294 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -159,7 +159,7 @@ class Role:
messages by observing."""
self._rc.env = env
if env:
- env.set_subscribed_tags(self, self._subscription)
+ env.set_subscription(self, self._subscription)
@property
def profile(self):