Closed morganpartee closed 1 year ago
Also explain multiple files, though that's probably pretty easy. A readme generator wouldn't be too tough
This is about half done. With the change to a json return format, it can return multiple files. We just can't handle them all yet, but I think that'll be a like, 0.2.0 thing
This is all solved (I think lol) now with those code: https://github.com/morganpartee/codegpt/blob/main/codegpt/gpt_interface.py#L54
Inspired by this tweet: https://twitter.com/goodside/status/1557227829145882624
Probably blocked by #5 but we need to be able to split code to multiple files. This kind of refactoring is just the BEST! Big questions on how though - Maybe return which lines can go to which file? The prompt here will be larger than most I would think