mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-08 15:05:17 +02:00
Merge pull request #735 from iorisa/feature/agentstore/v0.6
fixbug: fix todo_description
This commit is contained in:
commit
7493a230a8
2 changed files with 8 additions and 2 deletions
|
|
@ -504,7 +504,13 @@ class Role(SerializationMixin, is_polymorphic_base=True):
|
|||
|
||||
@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 ""
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -57,7 +57,7 @@ extras_require["dev"] = (["pylint~=3.0.3", "black~=23.3.0", "isort~=5.12.0", "pr
|
|||
|
||||
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue