Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
MIT License
166.07k stars 43.97k forks source link

agent setup `rm -rf <venv>` ... should warn beforehand. #7404

Open dagelf opened 1 month ago

dagelf commented 1 month ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

Linux

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-4(32k)

Which area covers your issue best?

Installation and setup

Describe your issue.

Putting a file called setup.py in the main directory, is inviting people to just run it to see what happens... and if what happens is that their entire venv that might or might not be easily re-creatable just gets wiped, it will not create a good first experience...

Before such a command is run, it should ask for confirmation. Ie. either remove the -f, or explicitly prompt the user or point them in the right direction, or explain why.

Upload Activity Log Content

No response

Upload Error Log Content

No response

dagelf commented 1 month ago

I mean, anyone who reads the docs or setup.sh will see that pyenv and poetry or docker should be used... but not 100% of people who try this, will read it first.

At least a message in the script can explain to try to be more helpful.

Isn't the whole idea of autogpt to make computers more helpful?