Changesets · Branches · Tags · Compare
| Changeset | 6b6196036cbecd9f254eeb7e568b7170718ae4d0c8383ea7b49f72ac146250f8 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-08-08 11:29 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-08-08 11:29 -07:00 |
| Parents | 477b69852d2d, 26a736413b0c |
2 files changed
modified core/llm/toolSupport.ts +12 −0
| @@ -63,13 +63,22 @@ | ||
| 63 | 63 | ) { |
| 64 | 64 | return true; |
| 65 | 65 | } |
| 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 | + | |
| 66 | 73 | if (lower.includes("gpt-oss")) { |
| 67 | 74 | return true; |
| 68 | 75 | } |
| 76 | + | |
| 69 | 77 | // https://ai.google.dev/gemma/docs/capabilities/function-calling |
| 70 | 78 | if (lower.startsWith("gemma")) { |
| 71 | 79 | return true; |
| 72 | 80 | } |
| 81 | + | |
| 73 | 82 | // firworks-ai https://docs.fireworks.ai/guides/function-calling |
| 74 | 83 | if (model.startsWith("accounts/fireworks/models/")) { |
| 75 | 84 | switch (model.substring(26)) { |
| @@ -179,6 +188,7 @@ | ||
| 179 | 188 | "firefunction-v2", |
| 180 | 189 | "mistral", |
| 181 | 190 | "devstral", |
| 191 | + "exaone", | |
| 182 | 192 | "gpt-oss", |
| 183 | 193 | ].some((part) => modelName.toLowerCase().includes(part)) |
| 184 | 194 | ) { |
| @@ -269,6 +279,7 @@ | ||
| 269 | 279 | "deepseek/deepseek-chat", |
| 270 | 280 | "meta-llama/llama-4", |
| 271 | 281 | "all-hands/openhands-lm-32b", |
| 282 | + "lgai-exaone/exaone", | |
| 272 | 283 | ]; |
| 273 | 284 | for (const prefix of supportedPrefixes) { |
| 274 | 285 | if (model.toLowerCase().startsWith(prefix)) { |
| @@ -339,6 +350,7 @@ | ||
| 339 | 350 | if (modelDescription.capabilities?.tools !== undefined) { |
| 340 | 351 | return modelDescription.capabilities.tools; |
| 341 | 352 | } |
| 353 | + | |
| 342 | 354 | const providerSupport = PROVIDER_TOOL_SUPPORT[modelDescription.provider]; |
| 343 | 355 | if (!providerSupport) { |
| 344 | 356 | return false; |
modified gui/src/pages/AddNewModel/configs/models.ts +26 −0
| @@ -330,6 +330,32 @@ | ||
| 330 | 330 | providerOptions: ["nebius"], |
| 331 | 331 | isOpenSource: true, |
| 332 | 332 | }, |
| 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 | + }, | |
| 333 | 359 | moonshotChat: { |
| 334 | 360 | title: "Moonshot Chat", |
| 335 | 361 | description: "Moonshot AI provides high-performance large language models", |