From 58832d1a75402f49257c89ac79eddba8982e8b4a Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 23 May 2025 20:16:56 +0300 Subject: [PATCH] MistralAI: add devstral models --- public/index.html | 2 ++ public/scripts/openai.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/public/index.html b/public/index.html index 67b142a52..6b7c522d9 100644 --- a/public/index.html +++ b/public/index.html @@ -3274,6 +3274,7 @@ + @@ -3302,6 +3303,7 @@ + diff --git a/public/scripts/openai.js b/public/scripts/openai.js index d5c1410f0..0cf94c720 100644 --- a/public/scripts/openai.js +++ b/public/scripts/openai.js @@ -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