From 18aa73e9c8762e138218bdce4cb2888bca73869e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 10 Sep 2026 05:04:58 +0000 Subject: [PATCH] This build was committed by a bot. --- dist/assets/{index-DhMktBAg.js => index-BXuoHvQB.js} | 3 ++- dist/index.html | 3 ++- dist/sw.js | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) rename dist/assets/{index-DhMktBAg.js => index-BXuoHvQB.js} (99%) diff --git a/dist/assets/index-DhMktBAg.js b/dist/assets/index-BXuoHvQB.js similarity index 99% rename from dist/assets/index-DhMktBAg.js rename to dist/assets/index-BXuoHvQB.js index 1e23d26..c8b1bc2 100644 --- a/dist/assets/index-DhMktBAg.js +++ b/dist/assets/index-BXuoHvQB.js @@ -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 diff --git a/dist/index.html b/dist/index.html index 9b625c0..d16d7a1 100644 --- a/dist/index.html +++ b/dist/index.html @@ -13,7 +13,7 @@ - + @@ -151,6 +151,7 @@