Closed nickveenhof closed 1 year ago
I think it would be good if we parse the fetched diff using https://github.com/sergeyt/parse-diff so that each hunk can be send individually, allowing us to send more context to GPT.
It was mentioned before, but maybe there are other prompt engineering techniques we can leverage from https://thakkarparth007.github.io/copilot-explorer/posts/copilot-internals.html.
This was committed in #20
I think it would be good if we parse the fetched diff using https://github.com/sergeyt/parse-diff so that each hunk can be send individually, allowing us to send more context to GPT.
It was mentioned before, but maybe there are other prompt engineering techniques we can leverage from https://thakkarparth007.github.io/copilot-explorer/posts/copilot-internals.html.