How To Use FileWriterTool To Write Code To File #1526
Unanswered
jamesbyars
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on a crew that translates business requirements into working software (python). What I have is an Agent that writes the code to satisfy the requirements but the agent is not able to write the code to a file.
I don't want to hardcode a specific file to write the code to because the application can be made up of multiple files (think DAOs, views, controllers, tests, etc).
I want the crew to be able to:
I've looked at the LangChain FileManagementToolkit and the CrewAI Tool FileWriterTool.
I'm unable to get either tool working to write the task generated output to a file using the agent. Sample code (incomplete) below.
Beta Was this translation helpful? Give feedback.
All reactions