refactor: 移除模板变量 {{change-name}} 替换功能,模板改为纯静态文本

This commit is contained in:
2026-06-10 15:36:49 +08:00
parent ec090ea971
commit 7d3ca2a150
7 changed files with 13 additions and 13 deletions

View File

@@ -49,8 +49,7 @@ export async function assemblePlanPrompt(
}
if (doc.template) {
const rendered = doc.template.replace(/\{\{change-name\}\}/g, changeName);
parts.push(`\n### 格式模板:\n${rendered}`);
parts.push(`\n### 格式模板:\n${doc.template}`);
}
if (doc.depend && doc.depend.length > 0) {