From c6591f836ea73e1244a0e965111f7c599669d9fa Mon Sep 17 00:00:00 2001 From: Minipeps Date: Tue, 15 Apr 2025 14:10:09 +0200 Subject: [PATCH] fix: exclude open-codestral-mamba from supported models --- core/llm/toolSupport.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index de5566ff1..4de0c251a 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -74,7 +74,8 @@ export const PROVIDER_TOOL_SUPPORT: Record< }, mistral: (model) => { // https://docs.mistral.ai/capabilities/function_calling/ - return [ + return !model.toLowerCase().includes("mamba") && + [ "codestral", "mistral-large", "mistral-small",