fix(generateCommitMessageFromGitDiff.ts): remove unnecessary character at the end of the line (#36)
This commit is contained in:
@@ -21,7 +21,7 @@ const INIT_MESSAGES_PROMPT: Array<ChatCompletionRequestMessage> = [
|
|||||||
config?.description
|
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.'
|
? '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.'
|
: 'Don\'t add any descriptions to the commit, only commit message.'
|
||||||
} Use ${translation.localLanguage} to answer.}`
|
} Use ${translation.localLanguage} to answer.`
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
role: ChatCompletionRequestMessageRoleEnum.User,
|
role: ChatCompletionRequestMessageRoleEnum.User,
|
||||||
|
|||||||
Reference in New Issue
Block a user