The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
feat(n1): LFM3-Faehigkeiten wie im Ollama-Manifest: Tools alle, Denken Text+VL, Bilder VL+Omni
purplee888f42c64c0
diff --git a/src/lib/__tests__/lfm3-faehigkeiten.test.ts b/src/lib/__tests__/lfm3-faehigkeiten.test.tsnew file mode 100644index 00000000..4d6e3d95--- /dev/null+++ b/src/lib/__tests__/lfm3-faehigkeiten.test.ts@@ -0,0 +1,37 @@+/**+ * N1, 30.10.2026: was die vier LFM3-Modelle koennen, steht in ihren+ * Ollama-Manifesten (config-Blob, "capabilities"), gelesen am selben Tag:+ *+ * lfm3:1.7b completion, tools, thinking+ * lfm3-vl:2b completion, vision, tools, thinking+ * lfm3-omni:2b completion, vision, audio, speech, tools+ * lfm3-audio:2b completion, audio, speech, tools+ *+ * LU entscheidet Think-Knopf, Bildeingang und Agent fuer Ollama am Namen.+ * Ohne Eintrag waren alle vier "Text ohne Werkzeuge, ohne Denken".+ */+import { describe, expect, it } from 'vitest'+import { isAgentCompatible, isThinkingCompatible, isVisionCompatible } from '../model-compatibility'++const FAEHIG: Record<string, { tools: boolean; think: boolean; vision: boolean }> = {+ 'lfm3:1.7b': { tools: true, think: true, vision: false },+ 'lfm3:1.7b-nvfp4': { tools: true, think: true, vision: false },+ 'lfm3-vl:2b': { tools: true, think: true, vision: true },+ 'lfm3-omni:2b': { tools: true, think: false, vision: true },+ 'lfm3-audio:2b': { tools: true, think: false, vision: false },+}++describe('LFM3: Werkzeuge, Denken und Bildeingang wie im Manifest', () => {+ for (const [name, f] of Object.entries(FAEHIG)) {+ it(name, () => {+ expect(isAgentCompatible(name)).toBe(f.tools)+ expect(isThinkingCompatible(name)).toBe(f.think)+ expect(isVisionCompatible(name)).toBe(f.vision)+ })+ }++ it('LFM 2.5 bleibt, wie es war', () => {+ expect(isThinkingCompatible('lfm2.5:2.6b')).toBe(false)+ expect(isVisionCompatible('lfm2.5:2.6b')).toBe(false)+ })+})diff --git a/src/lib/model-compatibility.ts b/src/lib/model-compatibility.tsindex c7edcae8..b26846c1 100644--- a/src/lib/model-compatibility.ts+++ b/src/lib/model-compatibility.ts@@ -56,6 +56,9 @@ const AGENT_COMPATIBLE = [// this, the sub-4GB Granite 4.0 Micro tool-caller had Agent Mode grayed out.'granite','nemotron',+ // Liquid LFM3 (N1, 30.10.2026): every Ollama manifest of the family (lfm3,+ // lfm3-vl, lfm3-omni, lfm3-audio) names the capability "tools".+ 'lfm3',]/**@@ -190,8 +193,15 @@ const THINKING_COMPATIBLE = ['glm4.5', 'glm4.6', 'glm4.7', // GLM hybrid reasoning (NOT plain glm4:9b)'kimi-k2-thinking','minimax-m2',+ // Liquid LFM3 text and VL: "thinking" in their Ollama manifests. The `lfm3`+ // word also matches lfm3-omni and lfm3-audio, whose manifests do NOT name+ // it, so those two stand in THINKING_EXCLUDED below.+ 'lfm3',]+/** Members of a THINKING_COMPATIBLE family that do not think (N1). */+const THINKING_EXCLUDED = ['lfm3-omni', 'lfm3-audio']+/*** Check if a model supports thinking/chain-of-thought mode.* Cloud providers handle it gracefully. Ollama needs explicit support.@@ -241,6 +251,7 @@ export function isThinkingCompatible(modelName: string | null): boolean {if (isNativeToolProvider(providerId)) return trueconst baseName = normalizeFamily(modelName)+ if (THINKING_EXCLUDED.some(f => containsFamily(f, baseName))) return falsereturn THINKING_COMPATIBLE.some(f => containsFamily(f, baseName))}@@ -271,6 +282,9 @@ const VISION_COMPATIBLE = [// alone misses the real `internvl2` / `internvl2.5` / `internvl3` tags// (trailing digit breaks the word boundary), so list those prefixes.'granite3.2-vision', 'internvl', 'internvl2', 'internvl3', 'glm4v',+ // Liquid LFM3 VL and Omni: "vision" in their Ollama manifests (N1). The+ // text model and LFM3 Audio take no images.+ 'lfm3-vl', 'lfm3-omni',]/**