优化 generatePrompt 函数,通过注释添加提示,以确保仅输出Git提交信息。
This commit is contained in:
@@ -44,6 +44,7 @@ export const generatePrompt = (
|
||||
'- 排除任何不必要的内容,如翻译。您的整个响应将直接传递到git提交中。',
|
||||
commitTypes[type],
|
||||
specifyCommitFormat(type),
|
||||
//`只输出Git的提交信息即可,不要输出其他任何信息`,
|
||||
]
|
||||
.filter(Boolean)
|
||||
.join('\n');
|
||||
|
||||
Reference in New Issue
Block a user