Update "Use system prompt"

01d52f140a4d19bb5a5e1cba7b54f2911b62fcdc

cloak1505 <170299980+cloak1505@users.noreply.github.com>

2 files changed, +2 -1Showing whitespace changes
public/index.html+1 -1
@@ -2025,7 +2025,7 @@
20252025 <input id="use_makersuite_sysprompt" type="checkbox" />
20262026 <span>
20272027 <span data-i18n="Use system prompt">Use system prompt</span>
20282028 <i class="opacity50p fa-solid fa-circle-info" title="Gemini 1.5/2.0+, Pro/FlashLearnLM"></i>
20292029 </span>
20302030 </label>
20312031 <div class="toggle-description justifyLeft marginBot5">
src/endpoints/backends/chat-completions.js+1 -0
@@ -374,6 +374,7 @@ async function sendMakerSuiteRequest(request, response) {
374374 model.includes('gemini-2.0-flash') ||
375375 model.includes('gemini-1.5-pro') ||
376376 model.includes('gemini-1.5-flash') ||
377+ model.includes('learnlm') ||
377378 model.startsWith('gemini-exp')
378379 ) && request.body.use_makersuite_sysprompt;
379380