Elffuss BraidHub

kikocis/continue public

Merge pull request #6953 from gaby/2025-08-05-03-21-49

feat: Add support for LGAI EXAONE models
Changeset6b6196036cbecd9f254eeb7e568b7170718ae4d0c8383ea7b49f72ac146250f8
AuthorDallin Romney <dallinromney@gmail.com> · 2025-08-08 11:29 -07:00
CommitterGitHub <noreply@github.com> · 2025-08-08 11:29 -07:00
Parents477b69852d2d, 26a736413b0c

Browse the files at this changeset

2 files changed

modified core/llm/toolSupport.ts +12 −0
@@ -63,13 +63,22 @@
6363 ) {
6464 return true;
6565 }
66+
67+ // LGAI EXAONE models expose an OpenAI-compatible API with tool
68+ // calling support when served via frameworks like vLLM
69+ if (lower.includes("exaone")) {
70+ return true;
71+ }
72+
6673 if (lower.includes("gpt-oss")) {
6774 return true;
6875 }
76+
6977 // https://ai.google.dev/gemma/docs/capabilities/function-calling
7078 if (lower.startsWith("gemma")) {
7179 return true;
7280 }
81+
7382 // firworks-ai https://docs.fireworks.ai/guides/function-calling
7483 if (model.startsWith("accounts/fireworks/models/")) {
7584 switch (model.substring(26)) {
@@ -179,6 +188,7 @@
179188 "firefunction-v2",
180189 "mistral",
181190 "devstral",
191+ "exaone",
182192 "gpt-oss",
183193 ].some((part) => modelName.toLowerCase().includes(part))
184194 ) {
@@ -269,6 +279,7 @@
269279 "deepseek/deepseek-chat",
270280 "meta-llama/llama-4",
271281 "all-hands/openhands-lm-32b",
282+ "lgai-exaone/exaone",
272283 ];
273284 for (const prefix of supportedPrefixes) {
274285 if (model.toLowerCase().startsWith(prefix)) {
@@ -339,6 +350,7 @@
339350 if (modelDescription.capabilities?.tools !== undefined) {
340351 return modelDescription.capabilities.tools;
341352 }
353+
342354 const providerSupport = PROVIDER_TOOL_SUPPORT[modelDescription.provider];
343355 if (!providerSupport) {
344356 return false;
modified gui/src/pages/AddNewModel/configs/models.ts +26 −0
@@ -330,6 +330,32 @@
330330 providerOptions: ["nebius"],
331331 isOpenSource: true,
332332 },
333+ exaone32B: {
334+ title: "EXAONE 4.0.1-32B",
335+ description:
336+ "LG AI Research's 32B model with integrated reasoning and agentic tool use capabilities.",
337+ refUrl: "https://huggingface.co/LGAI-EXAONE/EXAONE-4.0.1-32B",
338+ params: {
339+ title: "EXAONE-4.0.1-32B",
340+ model: "LGAI-EXAONE/EXAONE-4.0.1-32B",
341+ contextLength: 131072,
342+ },
343+ providerOptions: ["openai"],
344+ isOpenSource: true,
345+ },
346+ exaone12B: {
347+ title: "EXAONE 4.0-1.2B",
348+ description:
349+ "Compact EXAONE 4.0 model suitable for on-device use while retaining tool calling support.",
350+ refUrl: "https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.2B",
351+ params: {
352+ title: "EXAONE-4.0-1.2B",
353+ model: "LGAI-EXAONE/EXAONE-4.0-1.2B",
354+ contextLength: 65536,
355+ },
356+ providerOptions: ["openai"],
357+ isOpenSource: true,
358+ },
333359 moonshotChat: {
334360 title: "Moonshot Chat",
335361 description: "Moonshot AI provides high-performance large language models",