From ba397dd2a8ca2311a3e49cf8b37620c86dab442a Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 13 Apr 2024 20:09:51 +0300 Subject: [PATCH] #2062 Extend unlock for MakerSuite models --- public/scripts/openai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/scripts/openai.js b/public/scripts/openai.js index 7ce8c8c37..0e3a66c73 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -3566,7 +3566,7 @@ async function onModelChange() { if (oai_settings.chat_completion_source == chat_completion_sources.MAKERSUITE) { if (oai_settings.max_context_unlocked) { - $('#openai_max_context').attr('max', unlocked_max); + $('#openai_max_context').attr('max', max_1mil); } else if (value === 'gemini-1.5-pro-latest') { $('#openai_max_context').attr('max', max_1mil); } else if (value === 'gemini-ultra' || value === 'gemini-1.0-pro-latest' || value === 'gemini-pro' || value === 'gemini-1.0-ultra-latest') {