MistralAI: add devstral models

58832d1a75402f49257c89ac79eddba8982e8b4a

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

2 files changed, +4 -0Showing whitespace changes
public/index.html+2 -0
@@ -3274,6 +3274,7 @@
3274 <option value="codestral-mamba-latest">codestral-mamba-latest</option>3274 <option value="codestral-mamba-latest">codestral-mamba-latest</option>
3275 <option value="pixtral-12b-latest">pixtral-12b-latest</option>3275 <option value="pixtral-12b-latest">pixtral-12b-latest</option>
3276 <option value="pixtral-large-latest">pixtral-large-latest</option>3276 <option value="pixtral-large-latest">pixtral-large-latest</option>
3277 <option value="devstral-small-latest">devstral-small-latest</option>
3277 </optgroup>3278 </optgroup>
3278 <optgroup label="Sub-versions">3279 <optgroup label="Sub-versions">
3279 <option value="open-mistral-nemo-2407">open-mistral-nemo-2407</option>3280 <option value="open-mistral-nemo-2407">open-mistral-nemo-2407</option>
@@ -3302,6 +3303,7 @@
3302 <option value="codestral-2501">codestral-2501</option>3303 <option value="codestral-2501">codestral-2501</option>
3303 <option value="pixtral-12b-2409">pixtral-12b-2409</option>3304 <option value="pixtral-12b-2409">pixtral-12b-2409</option>
3304 <option value="pixtral-large-2411">pixtral-large-2411</option>3305 <option value="pixtral-large-2411">pixtral-large-2411</option>
3306 <option value="devstral-small-2505">devstral-small-2505</option>
3305 </optgroup>3307 </optgroup>
3306 <optgroup id="mistralai_other_models" label="Other"></optgroup>3308 <optgroup id="mistralai_other_models" label="Other"></optgroup>
3307 </select>3309 </select>
public/scripts/openai.js+2 -0
@@ -4429,6 +4429,8 @@ function getMistralMaxContext(model, isUnlocked) {
4429 'mistral-tiny-2312': 32768,4429 'mistral-tiny-2312': 32768,
4430 'open-mistral-7b': 32768,4430 'open-mistral-7b': 32768,
4431 'open-mixtral-8x7b': 32768,4431 'open-mixtral-8x7b': 32768,
4432 'devstral-small-2505': 131072,
4433 'devstral-small-latest': 131072,
4432 };4434 };
44334435
4434 // Return context size if model found, otherwise default to 32k4436 // Return context size if model found, otherwise default to 32k