diff --git a/public/index.html b/public/index.html index c2dd51706..608f56f4f 100644 --- a/public/index.html +++ b/public/index.html @@ -2847,6 +2847,8 @@ + +
diff --git a/public/scripts/openai.js b/public/scripts/openai.js index e07d5618a..ce4b57d62 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -4112,7 +4112,7 @@ async function onModelChange() { if (oai_settings.max_context_unlocked) { $('#openai_max_context').attr('max', unlocked_max); } - else if (['llama3-8b-8192', 'llama3-70b-8192', 'gemma-7b-it'].includes(oai_settings.groq_model)) { + else if (['llama3-8b-8192', 'llama3-70b-8192', 'gemma-7b-it', 'gemma2-9b-it'].includes(oai_settings.groq_model)) { $('#openai_max_context').attr('max', max_8k); } else if (['mixtral-8x7b-32768'].includes(oai_settings.groq_model)) {