gpt-engineer icon indicating copy to clipboard operation
gpt-engineer copied to clipboard

GPT Engineer will not save individual files when given specs that result in many files.

Open raychorn opened this issue 2 years ago • 6 comments

The generated code goes into the logfile however it would be more useful if the tool could make all those files automatically.

raychorn avatar Jun 17 '23 17:06 raychorn

It should always generate all files. This seems to happen sometimes, we should improve the prompt.

AntonOsika avatar Jun 17 '23 17:06 AntonOsika

Happy to take a well prompt engineered PR on the generate and run_clarified steps

AntonOsika avatar Jun 17 '23 17:06 AntonOsika

#94 should make sure the file creation works.

patillacode avatar Jun 17 '23 18:06 patillacode

I have solved these issues and made a PR #120 with my improved parser.

goncalomoita avatar Jun 18 '23 00:06 goncalomoita

Files are not being written. Did the html prompt and it managed to write the html file and another file called python with part of the game code but missing all the rest

sugarbean777 avatar Jun 18 '23 01:06 sugarbean777

I have solved these issues and made a PR #120 with my improved parser.

Do I modify the chat_to_file.py code with the green highlighted code? Also your gpt-engineer/test test_chat_parser code does that need to be a new file in that directory with your written code?

sugarbean777 avatar Jun 18 '23 01:06 sugarbean777

Many changes have been applied since you posted this, give the latest version a try.

If you wish to reopen the issue please do following the new issue template.

patillacode avatar Jun 21 '23 13:06 patillacode