Hello ![]()
I managed to set up a functional environment with crewai and ollama (running the template works correctly). My goal is to set up a crew that modifies code directly in a directory. For now, I just want the crew to add all missing docstrings in the code or update the existing ones. But I don’t know how to make the crew update each file. I succeeded in outputting a “smell_code_report.md”.
I tried using the tools DirectoryReadTool, FileReadTool, and FileWriterTool without success.
Could someone indicate how to get the crew to modify the files?
Is it necessary to create dynamic tasks? For example, a task that takes a Python file as input and modifies it? Or perhaps, write the path with the same name but in a different directory structure?
Thank you !