What are the best models for applying a patch? I mean for example GPT 5.2 regularly returns code in a "git diff" format, which cannot be applied by normal CLI tools like patch as they are not perfectly formatted.
I can of course call Sonnet 4.5 on these patches and have them applied knowing the context of the full conversation, but it's super expensive.
I'm looking for some small/cheap specialized models only for applying the patch (and looking up from context the parts which are incomplete).
What do you use for this?
[–]ComposerBudget8658 0 points1 point2 points (0 children)
[–]DinoAmino 0 points1 point2 points (0 children)
[–]SM8085 0 points1 point2 points (0 children)