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
test(engine): A22 pin the real llama-server refusal of a picture without mmproj
purplea672ce6cafb4
diff --git a/src/api/__tests__/a22-image-part-reload.test.ts b/src/api/__tests__/a22-image-part-reload.test.tsindex d680608e..3068ea5e 100644--- a/src/api/__tests__/a22-image-part-reload.test.ts+++ b/src/api/__tests__/a22-image-part-reload.test.ts@@ -42,7 +42,7 @@ vi.mock('../backend', () => ({import { __resetImagePartReloads, ensureImagePartLoaded, explainImageRefusal, imagePartState } from '../image-part-heal'import { useProviderStore } from '../../stores/providerStore'-import { MULTIMODAL_UNSUPPORTED_MESSAGE } from '../../lib/ollama-errors'+import { MULTIMODAL_UNSUPPORTED_MESSAGE, isMultimodalUnsupportedError } from '../../lib/ollama-errors'const MODEL = 'openai::gemma-4-12b-it-abliterated-Q4_K_M'@@ -126,3 +126,10 @@ describe('A22: the image part of a vision model on the LU Engine', () => {expect(engine.swaps).toEqual([])})})++describe('A22: the refusal of the real llama-server', () => {+ it('is the one the chat recognises (measured 13.11.2026, llama.cpp 8642541, LFM3 VL 2B without --mmproj)', () => {+ const real = '{"error":{"code":500,"message":"image input is not supported - hint: if this is unexpected, you may need to provide the mmproj","type":"server_error"}}'+ expect(isMultimodalUnsupportedError(real)).toBe(true)+ })+})