diff --git a/src/utils.ts b/src/utils.ts index e5cefff..61e7276 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -62,7 +62,7 @@ export const getDetectedMessage = (files: string[]) => `Detected ${files.length. const sanitizeMessage = (message: string) => message.trim().replace(/[\n\r]/g, '').replace(/(\w)\.$/, '$1'); -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:'; +const promptTemplate = 'Write an insightful but concise Git commit message in a complete sentence in imperative present tense for the following diff without prefacing it with anything:'; export const generateCommitMessage = async ( apiKey: string,