Closed brayo-pip closed 1 day ago
I was trying to fix a Makefile. Used ls
to find the makefile and cat
to view it. But it failed to apply the patch because filename was not provided. Not sure how to reproduce because it has only happened once so far.
I've noticed how LLMs sometimes output saves and patches on a variety of other formats, including these two:
file.txt: ```patch ... ```
```patch # file.txt ... ```
Perhaps we should try to gracefully handle these? Could add message-rewrite rules, as proposed for save/patch in #152.
They usually recover from it, but I've had it happen once or twice that it just won't use the correct format. Not sure why.
Not experienced this in a really long time. I consider it closed. Can always reopen if anyone reports it again.