Closed Zinnusl closed 1 year ago
Hey @Zinnusl 👋
Thanks for the feedback! I hope you don't mind but I went with a slightly different approach, but I appreciate you taking the time to open a PR anyway 🙏
The change I pushed allows it to overwrite the existing source code to avoid ending up with potentially large numbers of directories containing invalid source 😅
It does mean we lose the history of GPT's failed attempts, but I'm going to add a conversation logger to write the full conversation to disk.
I tend to get one compiler error that it will then fix, but it used to break when the directory already existed, so we move it beforehand.