]> Humopery - gptelconfig.git/commitdiff
Instruct for newline at end of patch
authorErik Mackdanz <erikmack@gmail.com>
Sat, 15 Nov 2025 21:57:19 +0000 (15:57 -0600)
committerErik Mackdanz <erikmack@gmail.com>
Sat, 15 Nov 2025 21:57:19 +0000 (15:57 -0600)
gptel

diff --git a/gptel b/gptel
index c00afe9b807c46d99c02924da743a13c81f784dc..50e7631330dee800f8e160b81b6013f9d69a5572 100644 (file)
--- a/gptel
+++ b/gptel
               (with-current-buffer output-buffer (buffer-string))
               )
             )
- :description "Patch files in the working directory. A patch should only have one hunk; if multiple hunks are required, generate multiple patches. If the patch fails to apply, generate a new patch and try again."
+ :description "Patch files in the working directory. A patch should only have one hunk; if multiple hunks are required, generate multiple patches. If the patch fails to apply, generate a new patch and try again. Remember that a patch should always end with a newline"
  :args (list '(:name "workingdirectory"
                     :type string
                     :description "The project's directory to change to before running the command. Defaults to '.'"