From f6a50fa0cdd4bb0f003ce28cf41e7bdb20f21e30 Mon Sep 17 00:00:00 2001 From: fizzAI Date: Sun, 7 Jul 2024 20:36:40 -0400 Subject: [PATCH] Add Gemma 2 9b to available Groq models --- public/index.html | 2 ++ public/scripts/openai.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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)) {