Fix FileReadTool infinite loop by maintaining original schema

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2024-12-28 21:55:35 +00:00
parent 0674b397f7
commit 63e23c06c5

View File

@@ -27,7 +27,6 @@ class FileReadTool(BaseTool):
if file_path is not None:
self.file_path = file_path
self.description = f"A tool that can be used to read {file_path}'s content."
self.args_schema = FixedFileReadToolSchema
self._generate_description()
def _run(