mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Update "Use system prompt"
This commit is contained in:
@@ -2025,7 +2025,7 @@
|
|||||||
<input id="use_makersuite_sysprompt" type="checkbox" />
|
<input id="use_makersuite_sysprompt" type="checkbox" />
|
||||||
<span>
|
<span>
|
||||||
<span data-i18n="Use system prompt">Use system prompt</span>
|
<span data-i18n="Use system prompt">Use system prompt</span>
|
||||||
<i class="opacity50p fa-solid fa-circle-info" title="Gemini 1.5/2.0 Pro/Flash"></i>
|
<i class="opacity50p fa-solid fa-circle-info" title="Gemini 1.5+, LearnLM"></i>
|
||||||
</span>
|
</span>
|
||||||
</label>
|
</label>
|
||||||
<div class="toggle-description justifyLeft marginBot5">
|
<div class="toggle-description justifyLeft marginBot5">
|
||||||
|
@@ -374,6 +374,7 @@ async function sendMakerSuiteRequest(request, response) {
|
|||||||
model.includes('gemini-2.0-flash') ||
|
model.includes('gemini-2.0-flash') ||
|
||||||
model.includes('gemini-1.5-pro') ||
|
model.includes('gemini-1.5-pro') ||
|
||||||
model.includes('gemini-1.5-flash') ||
|
model.includes('gemini-1.5-flash') ||
|
||||||
|
model.includes('learnlm') ||
|
||||||
model.startsWith('gemini-exp')
|
model.startsWith('gemini-exp')
|
||||||
) && request.body.use_makersuite_sysprompt;
|
) && request.body.use_makersuite_sysprompt;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user