mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Fix FileReadTool infinite loop by maintaining original schema
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user