refactor: 移除模板变量 {{change-name}} 替换功能,模板改为纯静态文本
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user