MistralAI: add devstral models

This commit is contained in:
Cohee
2025-05-23 20:16:56 +03:00
parent 22afd570fc
commit 58832d1a75
2 changed files with 4 additions and 0 deletions

View File

@ -3274,6 +3274,7 @@
<option value="codestral-mamba-latest">codestral-mamba-latest</option>
<option value="pixtral-12b-latest">pixtral-12b-latest</option>
<option value="pixtral-large-latest">pixtral-large-latest</option>
<option value="devstral-small-latest">devstral-small-latest</option>
</optgroup>
<optgroup label="Sub-versions">
<option value="open-mistral-nemo-2407">open-mistral-nemo-2407</option>
@ -3302,6 +3303,7 @@
<option value="codestral-2501">codestral-2501</option>
<option value="pixtral-12b-2409">pixtral-12b-2409</option>
<option value="pixtral-large-2411">pixtral-large-2411</option>
<option value="devstral-small-2505">devstral-small-2505</option>
</optgroup>
<optgroup id="mistralai_other_models" label="Other"></optgroup>
</select>

View File

@ -4429,6 +4429,8 @@ function getMistralMaxContext(model, isUnlocked) {
'mistral-tiny-2312': 32768,
'open-mistral-7b': 32768,
'open-mixtral-8x7b': 32768,
'devstral-small-2505': 131072,
'devstral-small-latest': 131072,
};
// Return context size if model found, otherwise default to 32k