diff --git a/metagpt/roles/role.py b/metagpt/roles/role.py index 3bcd600fc..3d5e55057 100644 --- a/metagpt/roles/role.py +++ b/metagpt/roles/role.py @@ -504,7 +504,13 @@ async def act(self) -> ActionOutput: @property def todo(self) -> str: - """AgentStore uses this attribute to display to the user what actions the current role should take.""" + """ + AgentStore uses this attribute to display to the user what actions the current role should take. + """ + if self.rc.todo: + if self.rc.todo.desc: + return self.rc.todo.desc + return any_to_name(self.rc.todo) if self.actions: return any_to_name(self.actions[0]) return "" diff --git a/setup.py b/setup.py index d997b5f62..ea84fe299 100644 --- a/setup.py +++ b/setup.py @@ -57,7 +57,7 @@ def run(self): setup( name="metagpt", - version="0.6.3", + version="0.6.4", description="The Multi-Agent Framework", long_description=long_description, long_description_content_type="text/markdown",