From 9d60f162b44bd54647f1c292c8af1ee430ca35f5 Mon Sep 17 00:00:00 2001 From: Juan Calderon-Perez <835733+gaby@users.noreply.github.com> Date: Tue, 5 Aug 2025 09:21:56 -0400 Subject: [PATCH] fix: handle exaone version naming --- core/llm/toolSupport.ts | 4 ++-- gui/src/pages/AddNewModel/configs/models.ts | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/core/llm/toolSupport.ts b/core/llm/toolSupport.ts index 177de83ca..562c315cc 100644 --- a/core/llm/toolSupport.ts +++ b/core/llm/toolSupport.ts @@ -304,8 +304,8 @@ export function isRecommendedAgentModel(modelName: string): boolean { [/gpt/, /4/], [/claude/, /sonnet/, /3\.5|3\.7|3-5|3-7|-4/], [/claude/, /opus/, /-4/], - // EXAONE 4.0 and 4.0-1 variants - [/exaone/, /4\.0(-1)?/], + // EXAONE 4.0, 4.0-1, and 4.0.1 variants + [/exaone/, /4\.0(?:[-.]1)?/], ]; for (const combo of recs) { if (combo.every((regex) => modelName.toLowerCase().match(regex))) { diff --git a/gui/src/pages/AddNewModel/configs/models.ts b/gui/src/pages/AddNewModel/configs/models.ts index c2d10702d..476a8c9e9 100644 --- a/gui/src/pages/AddNewModel/configs/models.ts +++ b/gui/src/pages/AddNewModel/configs/models.ts @@ -303,13 +303,13 @@ export const models: { [key: string]: ModelPackage } = { isOpenSource: true, }, exaone32B: { - title: "EXAONE 4.0-1 32B", + title: "EXAONE 4.0.1-32B", description: "LG AI Research's 32B model with integrated reasoning and agentic tool use capabilities.", - refUrl: "https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.32B", + refUrl: "https://huggingface.co/LGAI-EXAONE/EXAONE-4.0.1-32B", params: { - title: "EXAONE-4.0-1.32B", - model: "LGAI-EXAONE/EXAONE-4.0-1.32B", + title: "EXAONE-4.0.1-32B", + model: "LGAI-EXAONE/EXAONE-4.0.1-32B", contextLength: 131072, }, providerOptions: ["openai"],