Add Devstral as model supporting tools

Ref #5778
This commit is contained in:
Mathieu Santostefano 2025-05-21 20:33:30 +02:00 • committed by GitHub
parent 61034c8294
commit dbd3430984
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -88,6 +88,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<
return (
!model.toLowerCase().includes("mamba") &&
[
"devstral",
"codestral",
"mistral-large",
"mistral-small",
@ -136,6 +137,7 @@ export const PROVIDER_TOOL_SUPPORT: Record<
"aya-expanse",
"firefunction-v2",
"mistral",
"devstral",
].some((part) => modelName.toLowerCase().includes(part))
) {
return true;