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') {