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: bundle installed detection — strict base-name match only
PurpleDoubleD44811f20e3b8
diff --git a/src/api/discover.ts b/src/api/discover.tsindex e27cf94e..f5b4b759 100644--- a/src/api/discover.ts+++ b/src/api/discover.ts@@ -116,6 +116,8 @@ export async function checkBundlesInstalled(bundles: ModelBundle[]): Promise<Rec// Fallback: for bundles not detected by exact filename, check ComfyUI's model lists// This catches variant files (e.g. fp8 version of a model with different filename)+ // STRICT: only exact base-name match — no substring matching (caused false positives+ // where z_image_turbo matched z_image_base, or gemma-4-31b matched gemma-4-e4b)const undetected = bundles.filter(b => !result[b.name])if (undetected.length > 0) {try {@@ -135,7 +137,7 @@ export async function checkBundlesInstalled(bundles: ModelBundle[]): Promise<Recreturn models.some(m => {const mBase = m.replace(/\.[^.]+$/, '').toLowerCase().replace(/[-_](fp4|fp8|fp16|bf16|e4m3fn|scaled|fp8_e4m3fn_scaled)$/g, '')- return mBase === base || mBase.includes(base) || base.includes(mBase)+ return mBase === base})})if (allFound) result[bundle.name] = true