Skip to content

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

feat: +note

莘权 马85465fe50012
diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py
index dba14bb72..3747072f1 100644
--- a/metagpt/roles/role.py
+++ b/metagpt/roles/role.py
@@ -544,6 +544,8 @@ class Role(SerializationMixin, ContextMixin, BaseModel):
"""
Export SDK API, used by AgentStore RPC and Agent.
AgentStore uses this attribute to display to the user what actions the current role should take.
+ `Role` provides the default property, and this property should be overridden by children classes if necessary,
+ as demonstrated by the `Engineer` class.
"""
if self.rc.todo:
if self.rc.todo.desc: