diff --git a/src/utils.ts b/src/utils.ts index 0715f82..95cca29 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -60,7 +60,7 @@ export const getStagedDiff = async () => { export const getDetectedMessage = (files: string[]) => `Detected ${files.length.toLocaleString()} staged file${files.length > 1 ? 's' : ''}`; -const promptTemplate = 'I want you to act like a git commit message writer. I will input a git diff and your job is to convert it into a useful commit message. Do not preface the commit with anything, use the present tense, return a complete sentence, and do not repeat yourself:'; +const promptTemplate = 'Write an insightful but concise Git commit message in a complete sentence in present tense for the following diff without prefacing it with anything:'; export const generateCommitMessage = async ( apiKey: string,