diff --git a/emacs/.emacs.d/config/init-ai.el b/emacs/.emacs.d/config/init-ai.el index 0b62d61..79e148d 100644 --- a/emacs/.emacs.d/config/init-ai.el +++ b/emacs/.emacs.d/config/init-ai.el @@ -35,11 +35,11 @@ (goto-char (point-max)) (forward-line -1) (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." 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. Reply with the commit message only." diff))) (message "Generating commit message...") (gptel-request prompt :stream t - :system "You are an experienced software engineer writing a commit message."))) + :system "You are a professional software engineer."))) (use-package llama :straight `(:local-repo ,(expand-file-name "packages/llama" user-emacs-directory) :type nil)