chore(gui): remove EXAONE icon

This commit is contained in:
Juan Calderon-Perez 2025-08-04 23:21:53 -04:00
parent b11f5cab3a
commit 37e6c34d03
2 changed files with 38 additions and 0 deletions

View file

@ -60,6 +60,11 @@ export const PROVIDER_TOOL_SUPPORT: Record<string, (model: string) => boolean> =
) {
return true;
}
// LGAI EXAONE models expose an OpenAI-compatible API with tool
// calling support when served via frameworks like vLLM
if (model.toLowerCase().includes("exaone")) {
return true;
}
// firworks-ai https://docs.fireworks.ai/guides/function-calling
if (model.startsWith("accounts/fireworks/models/")) {
switch (model.substring(26)) {
@ -299,6 +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)?/],
];
for (const combo of recs) {
if (combo.every((regex) => modelName.toLowerCase().match(regex))) {
@ -311,6 +318,11 @@ 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;

View file

@ -302,6 +302,32 @@ export const models: { [key: string]: ModelPackage } = {
providerOptions: ["nebius"],
isOpenSource: true,
},
exaone32B: {
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",
params: {
title: "EXAONE-4.0-1.32B",
model: "LGAI-EXAONE/EXAONE-4.0-1.32B",
contextLength: 131072,
},
providerOptions: ["openai"],
isOpenSource: true,
},
exaone12B: {
title: "EXAONE 4.0-1.2B",
description:
"Compact EXAONE 4.0 model suitable for on-device use while retaining tool calling support.",
refUrl: "https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.2B",
params: {
title: "EXAONE-4.0-1.2B",
model: "LGAI-EXAONE/EXAONE-4.0-1.2B",
contextLength: 65536,
},
providerOptions: ["openai"],
isOpenSource: true,
},
moonshotChat: {
title: "Moonshot Chat",
description: "Moonshot AI provides high-performance large language models",