11
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user