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
fix(image): a music checkpoint sat at the top of the image model picker
David8b404450978f
diff --git a/src/api/__tests__/model-discovery-coverage.test.ts b/src/api/__tests__/model-discovery-coverage.test.tsindex 57362763..e8d3af08 100644--- a/src/api/__tests__/model-discovery-coverage.test.ts+++ b/src/api/__tests__/model-discovery-coverage.test.ts@@ -94,6 +94,27 @@ describe('getImageModels sees everything installed', () => {expect(names).not.toContain('wan2.1_t2v_1.3B.safetensors')})+ it('keeps the lane architectures out of the image list, as CHECKPOINTS too', async () => {+ // Measured on the Windows box on 2026-08-15: "zeichne mir ein Logo fuer die+ // Startseite" opened the image model picker with exactly two entries,+ // ace_step_1.5_turbo_aio and sd_turbo, and the ACE one was pre-selected+ // because it sorts first. ACE-Step makes MUSIC. Nobody clicks in 90 seconds+ // when the card says it continues on its own, so the AFK case the countdown+ // exists for would have rendered a picture with an audio checkpoint.+ //+ // The UNET loop filters on isImageModelType and gets this right. The+ // checkpoint loop only skipped video types and renamed everything else to+ // sdxl, so the four lane architectures (ace, wans2v, wananimate, wanvace)+ // walked in through the checkpoint door. Distributed as .safetensors+ // checkpoints, which is exactly how our own Model Manager installs them.+ routeObjectInfo({+ checkpoints: ['ace_step_1.5_turbo_aio.safetensors', 'wan2.1_vace_14b.safetensors'],+ unets: ['ace_step_v1_3.5b.safetensors'],+ })+ const names = (await getImageModels()).map((m) => m.name)+ expect(names).toEqual([])+ })+it('degrades quietly when ComfyUI-GGUF is not installed', async () => {routeObjectInfo({ unets: ['flux1-dev.safetensors'], ggufInstalled: false })const names = (await getImageModels()).map((m) => m.name)diff --git a/src/api/comfyui.ts b/src/api/comfyui.tsindex 955a2482..36b040d8 100644--- a/src/api/comfyui.ts+++ b/src/api/comfyui.ts@@ -673,9 +673,14 @@ export async function getImageModels(): Promise<ClassifiedModel[]> {for (const name of checkpoints) {if (!complete.has(name)) continueconst type = classifyModel(name)- // Skip video-type checkpoints (e.g. SVD) — they belong in getVideoModels()- if (isVideoModelType(type)) continue- result.push({ name, type: isImageModelType(type) ? type : 'sdxl', source: 'checkpoint' })+ // One predicate for both loops. isImageModelType lets 'unknown' through, so+ // a checkpoint the classifier cannot name is still offered, while the video+ // types (SVD) and the lane architectures (ACE audio, Wan S2V/Animate/VACE)+ // stay in their own pickers. The old branch renamed anything unmatched to+ // sdxl instead of skipping it, which put an ACE-Step music checkpoint at+ // the top of the image picker on a real box.+ if (!isImageModelType(type)) continue+ result.push({ name, type, source: 'checkpoint' })}for (const name of unets) {