fix: 将生成 Prompt 中的章节标题自定义内容改为用户输入

This commit is contained in:
2026-06-26 17:07:23 +08:00
parent a1e4246bf4
commit 1bb3978c9a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -339,7 +339,7 @@
// Custom content
const customContent = document.getElementById('custom-content').value.trim();
if (customContent) {
parts.push(`## 自定义内容\n\n${customContent}`);
parts.push(`## 用户输入\n\n${customContent}`);
}
// Tag constraints
+1 -1
View File
@@ -210,7 +210,7 @@ func AssemblePrompt(projectName string, customContent string, tagOptions []model
// Custom content
if customContent != "" {
parts = append(parts, fmt.Sprintf("## 自定义内容\n\n%s", customContent))
parts = append(parts, fmt.Sprintf("## 用户输入\n\n%s", customContent))
}
// Tag constraints