From dbd3430984d07969cfaad8063736f3de705e0bcf Mon Sep 17 00:00:00 2001 From: Mathieu Santostefano Date: Wed, 21 May 2025 20:33:30 +0200 Subject: [PATCH] Add Devstral as model supporting tools Ref #5778 --- core/llm/toolSupport.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index 8a96a4d60..cd14586bb 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -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;