From 01d52f140a4d19bb5a5e1cba7b54f2911b62fcdc Mon Sep 17 00:00:00 2001 From: cloak1505 <170299980+cloak1505@users.noreply.github.com> Date: Sat, 26 Apr 2025 12:19:06 -0500 Subject: [PATCH] Update "Use system prompt" --- public/index.html | 2 +- src/endpoints/backends/chat-completions.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/public/index.html b/public/index.html index 195c22165..34916670f 100644 --- a/public/index.html +++ b/public/index.html @@ -2025,7 +2025,7 @@ Use system prompt - +
diff --git a/src/endpoints/backends/chat-completions.js b/src/endpoints/backends/chat-completions.js index 83b929192..c3ad8debe 100644 --- a/src/endpoints/backends/chat-completions.js +++ b/src/endpoints/backends/chat-completions.js @@ -374,6 +374,7 @@ async function sendMakerSuiteRequest(request, response) { model.includes('gemini-2.0-flash') || model.includes('gemini-1.5-pro') || model.includes('gemini-1.5-flash') || + model.includes('learnlm') || model.startsWith('gemini-exp') ) && request.body.use_makersuite_sysprompt;