Skip to content

Commit

Permalink
updated SkillRetrieval description
Browse files Browse the repository at this point in the history
  • Loading branch information
qcampbel committed Feb 6, 2024
1 parent a56cfe8 commit 84c8c67
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions mdagent/tools/subagent_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ class ExecuteSkillInputSchema(BaseModel):

class RetryExecuteSkill(BaseTool):
name = "RetryExecuteSkill"
description = """Only use this tool to execute a tool recently created
that previously failed to execute or hasn't been executed yet.
Make sure to include tool name and inputs arguments.
"""
description = (
"Only use this tool to execute a tool recently created"
"that previously failed to execute or hasn't been executed yet."
"Make sure to include tool name and inputs arguments."
)
subagent_settings: Optional[SubAgentSettings]
args_schema: Optional[Type[BaseModel]] = ExecuteSkillInputSchema

Expand Down Expand Up @@ -61,9 +62,11 @@ class SkillRetrievalInput(BaseModel):

class SkillRetrieval(BaseTool):
name = "SkillRetrieval"
description = """Only use this tool to retrieve skills that have been
made during the current iteration. Use this tool less than other tools.
"""
description = (
"Only use this tool to retrieve skills that have been "
"made during the current iteration. Use this tool less than other tools. "
"Use this if there is no tool available that can be used "
)
subagent_settings: Optional[SubAgentSettings]
args_schema: Optional[Type[BaseModel]] = SkillRetrievalInput

Expand Down

0 comments on commit 84c8c67

Please sign in to comment.