New llama-3.3 Groq model Closes #3168
| @@ -3100,6 +3100,9 @@ | ||
| 3100 | 3100 | </div> |
| 3101 | 3101 | <h4 data-i18n="Groq Model">Groq Model</h4> |
| 3102 | 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 | 3106 | <optgroup label="Llama 3.2"> |
| 3104 | 3107 | <option value="llama-3.2-1b-preview">llama-3.2-1b-preview</option> |
| 3105 | 3108 | <option value="llama-3.2-3b-preview">llama-3.2-3b-preview</option> |
| @@ -4269,7 +4269,7 @@ async function onModelChange() { | ||
| 4269 | 4269 | else if (oai_settings.groq_model.includes('llama-3.2') && oai_settings.groq_model.includes('-preview')) { |
| 4270 | 4270 | $('#openai_max_context').attr('max', max_8k); |
| 4271 | 4271 | } |
| 4272 | 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 | 4273 | $('#openai_max_context').attr('max', max_128k); |
| 4274 | 4274 | } |
| 4275 | 4275 | else if (oai_settings.groq_model.includes('llama3-groq')) { |