Changed order of the arguments, placing 'content' last.

It tends to forget context when it gets to filling other arguments when content is on the longer side.
This commit is contained in:
Adan Butto
2024-10-22 18:47:52 +03:00
parent 857d6c135c
commit 6a7e917e1d

View File

@@ -6,10 +6,10 @@ from distutils.util import strtobool
class FileWriterToolInput(BaseModel):
filename: str
content: str
filename: str
directory: Optional[str] = "./"
overwrite: str = "False"
content: str
class FileWriterTool(BaseTool):
name: str = "File Writer Tool"