Recursively validate automated code workflows

  1. Automated workflow generates code
  2. Code is run on server
  3. If any errors occur when running the code, feed the code and the error to the GPT API, asking to rewrite the code to fix the bug.

Repeat steps 1-3 until the code runs without errors.

Great idea! Thanks for suggesting.