From e9ef2f9c1573aa1fadec66cbbb17ec2c439a03ba Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Wed, 9 Apr 2025 14:40:28 +0200 Subject: [PATCH] Enable tools support for Cogito on Ollama Signed-off-by: Fred Bricon --- 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 7f4975170..3d0d72cc8 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -82,7 +82,7 @@ export const PROVIDER_TOOL_SUPPORT: Record< } else { modelName = model; } - + if ( ["vision", "math", "guard", "mistrallite", "mistral-openorca"].some( (part) => modelName.toLowerCase().includes(part), @@ -92,6 +92,7 @@ export const PROVIDER_TOOL_SUPPORT: Record< } if ( [ + "cogito", "llama3.3", "qwq", "llama3.2",