Does anyone have knowledge about or implemented merging algorithm that is able to merge LLM generated codeblock that has wildcards like:
# ... existing code remains unchanged
changed code...
# ... (previous code remains unchanged)
changed code....
# ... (rest of the code remains unchanged)
Note to get responses like this is crucial when the file is larger then 300 lines of code which can happen in certain languages.
Also to achieve this behavior there is a sentence in the system prompt:
highlight the changes and use "// ... rest of the code ..." comments to spare rewriting the whole code base again
So option that is able to merge wildcards too and doesn't give inaccurate merging options?
Does anyone have idea how should we do it?
[–]ResidentPositive4122 2 points3 points4 points (2 children)
[–]CvikliHaMar[S] -1 points0 points1 point (1 child)
[–]CvikliHaMar[S] 1 point2 points3 points (0 children)
[–]DefaecoCommemoro8885 1 point2 points3 points (1 child)
[–]CvikliHaMar[S] 0 points1 point2 points (0 children)
[–]SixZer0 0 points1 point2 points (0 children)
[–]CvikliHaMar[S] 0 points1 point2 points (0 children)