From ed417da53627ab2557c13bbcef3a262fd54c6d57 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Fri, 7 Mar 2025 10:05:35 -0500 Subject: [PATCH] git_ui: Try to prompt the model out of including the diff output (#26281) This PR updates the prompt for generating commit messages to tell the model not to include the raw diff output in the message. Release Notes: - N/A --- crates/git_ui/src/commit_message_prompt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/git_ui/src/commit_message_prompt.txt b/crates/git_ui/src/commit_message_prompt.txt index e2dca2fc08b4e49a47a1301ee553a2b41886e6fe..64c2f7d2f9b3217a1b05d438825b85ee1b8312e6 100644 --- a/crates/git_ui/src/commit_message_prompt.txt +++ b/crates/git_ui/src/commit_message_prompt.txt @@ -4,7 +4,7 @@ If you can accurately express the change in just the subject line, don't include Don't repeat information from the subject line in the message body. -Only return the commit message in your response. Do not include any additional meta-commentary about the task. +Only return the commit message in your response. Do not include any additional meta-commentary about the task. Do not include the raw diff output in the commit message. Follow good Git style: