fix: Add validation fix output_file issue when have '/' (#585)

* fix: Add validation fix output_file issue when have /

* fix: run black to format code

* fix: run black to format code
This commit is contained in:
Eduardo Chiarotti
2024-05-09 08:11:00 -03:00
committed by GitHub
parent 809b4b227c
commit 7eb4fcdaf4
4 changed files with 31 additions and 19 deletions

View File

@@ -3,7 +3,9 @@ from crewai_tools import BaseTool
class MyCustomTool(BaseTool):
name: str = "Name of my tool"
description: str = "Clear description for what this tool is useful for, you agent will need this information to use it."
description: str = (
"Clear description for what this tool is useful for, you agent will need this information to use it."
)
def _run(self, argument: str) -> str:
# Implementation goes here