feat: +note

This commit is contained in:
莘权 马 2024-01-22 11:04:03 +08:00
parent f15b772d77
commit 85465fe500

View file

@ -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: