mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user