From 84c8c675d59ff3339a95bb50957ee3ded39abfd9 Mon Sep 17 00:00:00 2001 From: qcampbel Date: Tue, 6 Feb 2024 13:28:26 -0500 Subject: [PATCH] updated SkillRetrieval description --- mdagent/tools/subagent_tools.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/mdagent/tools/subagent_tools.py b/mdagent/tools/subagent_tools.py index 410c7310..6f049c88 100644 --- a/mdagent/tools/subagent_tools.py +++ b/mdagent/tools/subagent_tools.py @@ -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 @@ -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