From ef48171c8a3df54bed0e9719c9f09149ab381000 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Thu, 7 Aug 2025 22:35:36 -0400 Subject: [PATCH] fix review --- core/llm/toolSupport.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index d3a8684d0..2876ba346 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -277,6 +277,7 @@ export const PROVIDER_TOOL_SUPPORT: Record boolean> = "deepseek/deepseek-chat", "meta-llama/llama-4", "all-hands/openhands-lm-32b", + "lgai-exaone/exaone" ]; for (const prefix of supportedPrefixes) { if (model.toLowerCase().startsWith(prefix)) { @@ -347,11 +348,7 @@ export function modelSupportsNativeTools(modelDescription: ModelDescription) { if (modelDescription.capabilities?.tools !== undefined) { return modelDescription.capabilities.tools; } - // EXAONE 4.0 models advertise tool-calling capability regardless of - // the provider used to serve them. - if (modelDescription.model.toLowerCase().includes("exaone")) { - return true; - } + const providerSupport = PROVIDER_TOOL_SUPPORT[modelDescription.provider]; if (!providerSupport) { return false;