edited prompt slightly

This commit is contained in:
Hassan El Mghari
2023-02-14 01:56:16 -05:00
parent b48683755b
commit b956f07a3a
3 changed files with 9 additions and 4 deletions

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, use present tense, 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 the present tense, return a complete sentence, and do not repeat yourself: ${diff}`;
console.log(
chalk.white("▲ ") + chalk.gray("Generating your AI commit message...\n")