fix: 将生成 Prompt 中的章节标题自定义内容改为用户输入
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user