diff --git a/src/parts/modals.html b/src/parts/modals.html
index d6e33f8..a55254d 100644
--- a/src/parts/modals.html
+++ b/src/parts/modals.html
@@ -70,6 +70,7 @@
+
Use {{model_name}} to insert the current model name, excluding the provider prefix, the first slash-separated segment, and any :online or :free suffixes.
diff --git a/src/streaming.js b/src/streaming.js
index 96fd54d..a72953d 100644
--- a/src/streaming.js
+++ b/src/streaming.js
@@ -9,7 +9,8 @@ export const buildBody=()=>{
msgs.push({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});
}