only include run function for Action class

This commit is contained in:
garylin2099 2024-06-06 12:04:41 +08:00
parent 8e2c7c964f
commit 285ca321a0
3 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ NEW_REQ_TEMPLATE = """
"""
@register_tool(tags=["software development", "write system design"])
@register_tool(include_functions=["run"])
class WriteDesign(Action):
name: str = ""
i_context: Optional[str] = None

View file

@ -36,7 +36,7 @@ NEW_REQ_TEMPLATE = """
"""
@register_tool(tags=["software development", "write a project schedule given a project system design file"])
@register_tool(include_functions=["run"])
class WriteTasks(Action):
name: str = "CreateTasks"
i_context: Optional[str] = None

View file

@ -67,7 +67,7 @@ NEW_REQ_TEMPLATE = """
"""
@register_tool(tags=["software development", "write product requirement documents"])
@register_tool(include_functions=["run"])
class WritePRD(Action):
"""WritePRD deal with the following situations:
1. Bugfix: If the requirement is a bugfix, the bugfix document will be generated.