优化 generatePrompt 函数,通过注释添加提示,以确保仅输出Git提交信息。
Some checks failed
Test / Test (ubuntu-latest) (push) Has been cancelled
Test / Test (windows-latest) (push) Has been cancelled

This commit is contained in:
史悦
2025-10-21 10:12:03 +08:00
parent 35372013a1
commit 8e1f3d8259

View File

@@ -44,6 +44,7 @@ export const generatePrompt = (
'- 排除任何不必要的内容如翻译。您的整个响应将直接传递到git提交中。',
commitTypes[type],
specifyCommitFormat(type),
//`只输出Git的提交信息即可不要输出其他任何信息`,
]
.filter(Boolean)
.join('\n');