New llama-3.3 Groq model Closes #3168

bcfb07de5ece5b370958d7f9b115ce160a7c59bb

Cohee <18619528+Cohee1207@users.noreply.github.com>

2 files changed, +4 -1Ignore whitespace
public/index.html+3 -0
@@ -3100,6 +3100,9 @@
3100 </div>3100 </div>
3101 <h4 data-i18n="Groq Model">Groq Model</h4>3101 <h4 data-i18n="Groq Model">Groq Model</h4>
3102 <select id="model_groq_select">3102 <select id="model_groq_select">
3103 <optgroup label="Llama 3.3">
3104 <option value="llama-3.3-70b-versatile">llama-3.3-70b-versatile</option>
3105 </optgroup>
3103 <optgroup label="Llama 3.2">3106 <optgroup label="Llama 3.2">
3104 <option value="llama-3.2-1b-preview">llama-3.2-1b-preview</option>3107 <option value="llama-3.2-1b-preview">llama-3.2-1b-preview</option>
3105 <option value="llama-3.2-3b-preview">llama-3.2-3b-preview</option>3108 <option value="llama-3.2-3b-preview">llama-3.2-3b-preview</option>
public/scripts/openai.js+1 -1
@@ -4269,7 +4269,7 @@ async function onModelChange() {
4269 else if (oai_settings.groq_model.includes('llama-3.2') && oai_settings.groq_model.includes('-preview')) {4269 else if (oai_settings.groq_model.includes('llama-3.2') && oai_settings.groq_model.includes('-preview')) {
4270 $('#openai_max_context').attr('max', max_8k);4270 $('#openai_max_context').attr('max', max_8k);
4271 }4271 }
4272 else if (oai_settings.groq_model.includes('llama-3.2') || oai_settings.groq_model.includes('llama-3.1')) {4272 else if (oai_settings.groq_model.includes('llama-3.3') || oai_settings.groq_model.includes('llama-3.2') || oai_settings.groq_model.includes('llama-3.1')) {
4273 $('#openai_max_context').attr('max', max_128k);4273 $('#openai_max_context').attr('max', max_128k);
4274 }4274 }
4275 else if (oai_settings.groq_model.includes('llama3-groq')) {4275 else if (oai_settings.groq_model.includes('llama3-groq')) {