This commit is contained in:
fengchuanhn@gmail.com
2026-05-18 08:52:36 +08:00
parent caaa898d90
commit c559cb1581
5 changed files with 124 additions and 28 deletions

View File

@@ -56,10 +56,12 @@ ${content}
}
static buildRewritePrompt(content, config = {}, customPrompt) {
if (customPrompt && String(customPrompt).trim()) {
return this.replacePromptVariables(customPrompt, content);
}
return this.buildDefaultPrompt(content, config);
// if (customPrompt && String(customPrompt).trim()) {
// return this.replacePromptVariables(customPrompt, content);
// }
// return this.buildDefaultPrompt(content, config);
return content;
}
}