From da6984283bb323e4fd55f9de09eb28fce1c9e34e Mon Sep 17 00:00:00 2001 From: Michael Lyon Date: Mon, 13 Feb 2023 19:37:10 -0800 Subject: [PATCH] Update prompt wording to specify use of present tense. --- aicommits.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aicommits.ts b/aicommits.ts index 547f5a7..007db34 100644 --- a/aicommits.ts +++ b/aicommits.ts @@ -50,7 +50,7 @@ export async function main() { process.exit(1); } - let prompt = `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, return a complete sentence, and do not repeat yourself: ${diff}`; + let prompt = `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 present tense, return a complete sentence, and do not repeat yourself: ${diff}`; console.log( chalk.white("▲ ") + chalk.gray("Generating your AI commit message...\n")