biobootloader / wolverine
- среда, 22 марта 2023 г. в 00:14:07
Give your python scripts regenerative healing abilities!
Run your scripts with Wolverine and when they crash, GPT-4 edits them and explains what went wrong. Even if you have many bugs it will repeatedly rerun until it's fixed.
For a quick demonstration see my demo video on twitter.
python3 -m venv venv
pip install -r requirements.txt
source venv/bin/activate
Add your openAI api key to openai_key.txt
- warning! by default this uses GPT-4 and may make many repeated calls to the api.
python wolverine.py buggy_script.py "subtract" 20 3
This is just a quick prototype I threw together in a few hours. There are many possible extensions and contributions are welcome: