AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

Allow File Operations ot overwrite a file

Open AntonioCiolino opened this issue 2 years ago • 1 comments

Duplicates

  • [X] I have searched the existing issues

Summary 💡

If the tool decides that it need to modify an existing file, today it cannot as the file operations code will find the entry in the log database and say that it's not allowed.

I understand you don't want to lose work, but not allowing the code to refactor its work causes failure.

Examples 🌈

.

Motivation 🔦

Allowing the app to write a Flask app using GPT 3.5. This blocked forward progress.

AntonioCiolino avatar Apr 20 '23 17:04 AntonioCiolino

I’d like to for a moment point out why you may not want this. There exists many files your computer needs to operate and you know not to touch. The AI doesn’t. There’s a lot to consider around when and what directories the AI should have permission to modify. Docker solves a lot of them, so potentially a file modify that requires docker could work

ntindle avatar Apr 20 '23 17:04 ntindle

Understood. I think a better solution would be to either make the commands smarter to know delete / recreate. Please close this.

AntonioCiolino avatar Apr 21 '23 01:04 AntonioCiolino