Open rubengmartins opened 3 months ago
Some people point out that asking for code in JSON format may lead to worse results.
Unified diff is an alternative but the LLM always messes up the line numbers.
Another alternative would be something like: https://aider.chat/docs/unified-diffs.html#unified-diff-editing-format
We could encourage a high-level diff where we ask the LLM the reduce the number of blocks changed and then do a string replacement in the code.
Pros:
Cons:
Some people point out that asking for code in JSON format may lead to worse results.
Unified diff is an alternative but the LLM always messes up the line numbers.
Another alternative would be something like: https://aider.chat/docs/unified-diffs.html#unified-diff-editing-format
We could encourage a high-level diff where we ask the LLM the reduce the number of blocks changed and then do a string replacement in the code.
Pros:
Cons: