mirror of
https://github.com/sune-org/sune.git
synced 2026-09-18 12:45:45 +00:00
This build was committed by a bot.
This commit is contained in:
@@ -40,7 +40,8 @@ var buildBody = () => {
|
||||
role: "system",
|
||||
content: mPrompt
|
||||
});
|
||||
const sPrompt = (SUNE.system_prompt || "").trim();
|
||||
const modelName = SUNE.model.replace(/^(or:|oai:|g:|cla:|cf:)/, "").replace(/^[^/]*\//, "").replace(/(?::online|:free)+$/, "");
|
||||
const sPrompt = (SUNE.system_prompt || "").trim().replaceAll("{{model_name}}", () => modelName);
|
||||
if (sPrompt) msgs.push({
|
||||
role: "system",
|
||||
content: sPrompt
|
||||
Reference in New Issue
Block a user