Refines commit message prompt directive
Updated the guidelines for generating commit messages to avoid using the word 'enhance' and user experience references, and request plain text responses without syntax.
This commit is contained in:
parent
77138e6dc9
commit
05d94e2646
@ -61,7 +61,7 @@
|
|||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
(forward-line -1)
|
(forward-line -1)
|
||||||
(point)))))
|
(point)))))
|
||||||
(prompt (format "%s\n\nWrite a clear, concise commit message for this diff. The first line should succinctly summarize the changes made and should be no more than 50 characters. If additional context is needed, include it in an additional paragraph separate by a blank line from the first line. Reply with the commit message only." diff)))
|
(prompt (format "%s\n\nWrite a clear, concise commit message for this diff. The first line should succinctly summarize the changes made and should be no more than 50 characters. If additional context is needed, include it in an additional paragraph separate by a blank line from the first line. Do not use the word 'enhance' or talk about the user experience. Reply in plain text with no Markdown or other syntax. Reply with the commit message only." diff)))
|
||||||
(message "Generating commit message...")
|
(message "Generating commit message...")
|
||||||
(gptel-request prompt
|
(gptel-request prompt
|
||||||
:stream t
|
:stream t
|
||||||
|
Loading…
Reference in New Issue
Block a user