Update prompt wording to specify use of present tense.

This commit is contained in:
Michael Lyon
2023-02-13 19:37:10 -08:00
parent 4df3d64099
commit da6984283b

View File

@@ -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")