fix(generateCommitMessageFromGitDiff.ts): remove unnecessary character at the end of the line (#36)

This commit is contained in:
openefit
2023-03-19 16:04:06 +08:00
committed by GitHub
parent 3f7025d50a
commit 2acf833cd0

View File

@@ -21,7 +21,7 @@ const INIT_MESSAGES_PROMPT: Array<ChatCompletionRequestMessage> = [
config?.description
? 'Add a short description of what commit is about after the commit message. Don\'t start it with "This commit", just describe the changes.'
: 'Don\'t add any descriptions to the commit, only commit message.'
} Use ${translation.localLanguage} to answer.}`
} Use ${translation.localLanguage} to answer.`
},
{
role: ChatCompletionRequestMessageRoleEnum.User,