fix: handle exaone version naming

This commit is contained in:
Juan Calderon-Perez 2025-08-05 09:21:56 -04:00
parent 37e6c34d03
commit 9d60f162b4
2 changed files with 6 additions and 6 deletions

View file

@ -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))) {

View file

@ -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"],