Skip to content

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.

fix(create): no download offer while ComfyUI starts, gate details from the box

purple58edf5919e7e
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6ebdd346..879bfe8e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -56,6 +56,9 @@ cloud catalogue. It also fixes the bugs reported on GitHub and Discord since
bin, because LM Studio offers no way to delete a model from outside, and
Details showed nothing. Details now says to delete it in LM Studio under
My Models, and does the same for other local servers.
+- **No download offer while ComfyUI is starting.** Right after launch the
+ Create stage could offer the 6.5 GB starter download while ComfyUI was still
+ coming up and the models were already on disk. It now waits.
- **A downloaded render is the render you picked.** After a gallery delete,
ComfyUI could give the next render with the same prompt the freed file name,
and downloading the older entry then saved the newer picture. Every run now
diff --git a/e2e/lora-stack-follows-the-folder.spec.ts b/e2e/lora-stack-follows-the-folder.spec.ts
index da3b934b..a39c3ef1 100644
--- a/e2e/lora-stack-follows-the-folder.spec.ts
+++ b/e2e/lora-stack-follows-the-folder.spec.ts
@@ -95,6 +95,9 @@ test('a Z-Image character on an SDXL checkpoint says so and is not counted', asy
await bootWithFakeComfy(page, [STYLE, CHAR], 'juggernautXL.safetensors')
await openStack(page)
await page.getByRole('button', { name: /char_mira_zimage/ }).click()
- await expect(page.getByRole('button', { name: /char_mira_zimage/ })).toContainText('Z-Image only')
+ const row = page.getByRole('button', { name: /char_mira_zimage/ })
+ await expect(row).toContainText('Z-Image only')
await expect(page.getByText(/active/)).toHaveCount(0)
+ // Gegenprobe 02.10.: the row showed a strength slider as if it applied.
+ await expect(row.locator('xpath=..').getByRole('slider')).toHaveCount(0)
})
diff --git a/e2e/no-download-offer-while-comfyui-starts.spec.ts b/e2e/no-download-offer-while-comfyui-starts.spec.ts
new file mode 100644
index 00000000..ae456829
--- /dev/null
+++ b/e2e/no-download-offer-while-comfyui-starts.spec.ts
@@ -0,0 +1,41 @@
+import { test, expect, type Page } from '@playwright/test'
+import { tauriMockInit, DEFAULT_ASSISTANT_REPLY, DEFAULT_MODEL_NAME } from './support/tauri-mock'
+import { seedOnboardingDone } from './support/cloud-mock'
+
+/**
+ * 3.0.4 Gegenprobe on the Windows box (02.10.2026): right after launch the
+ * stage offered "Local image generation needs a one-time download ...
+ * Juggernaut XL (~6.5 GB)" while the line above said "ComfyUI is starting
+ * up." and the models were already on disk. A click would have downloaded
+ * them again. While ComfyUI is starting there is no offer; when it is neither
+ * running nor starting, the offer is the way out and stays.
+ */
+
+async function boot(page: Page, starting: boolean) {
+ await page.addInitScript(tauriMockInit, { assistantReply: DEFAULT_ASSISTANT_REPLY, modelName: DEFAULT_MODEL_NAME, platform: 'windows' })
+ await seedOnboardingDone(page)
+ await page.addInitScript((s) => {
+ const bridge = (window as unknown as { __TAURI_INTERNALS__: { invoke: (c: string, a: unknown) => Promise<unknown> } }).__TAURI_INTERNALS__
+ const invoke = bridge.invoke
+ bridge.invoke = (command, args) => command === 'comfyui_status'
+ ? Promise.resolve({ running: false, starting: s, isLocal: true, found: true })
+ : invoke(command, args)
+ }, starting)
+ await page.goto('/')
+ await page.getByRole('button', { name: /^Create$/ }).click()
+ await page.getByRole('radio', { name: 'Image', exact: true }).click()
+}
+
+test('while ComfyUI is starting the stage offers no download', async ({ page }) => {
+ await boot(page, true)
+ await expect(page.getByText('ComfyUI is starting up.')).toBeVisible({ timeout: 15_000 })
+ await page.waitForTimeout(1500)
+ await expect(page.getByText('Local image generation needs a one-time download')).toHaveCount(0)
+})
+
+// Negative control: nothing running and nothing starting, so the card is the
+// one way to a working setup and has to be there.
+test('with ComfyUI neither running nor starting the offer is there', async ({ page }) => {
+ await boot(page, false)
+ await expect(page.getByText('Local image generation needs a one-time download')).toBeVisible({ timeout: 15_000 })
+})
diff --git a/src/components/create/experimental/CreateExperimental.tsx b/src/components/create/experimental/CreateExperimental.tsx
index b8be29c6..cfd55feb 100644
--- a/src/components/create/experimental/CreateExperimental.tsx
+++ b/src/components/create/experimental/CreateExperimental.tsx
@@ -5,7 +5,7 @@ import { useCreateStore, type GalleryItem } from '../../../stores/createStore'
import { useCloudNoticeStore, CLOUD_RETENTION_DAYS, shouldShowRetentionNotice } from '../../../stores/cloudNoticeStore'
import { useComfyNoticeStore } from '../../../stores/comfyNoticeStore'
import { loadComfyCorsSignature, shouldShowCorsNotice } from '../../../lib/comfy-cors-notice'
-import { comfyIdleNotice, shouldWatchComfyIdle, IDLE_WATCH_INTERVAL_MS } from '../../../lib/comfy-idle-watch'
+import { comfyIdleNotice, shouldWatchComfyIdle, IDLE_WATCH_INTERVAL_MS, IDLE_STARTING } from '../../../lib/comfy-idle-watch'
import type { ComfyGuardStatus } from '../../../lib/comfy-restart-guard'
import { useWorkflowStore } from '../../../stores/workflowStore'
import { CreateExpProvider, useCreateExp } from './CreateContext'
@@ -221,11 +221,13 @@ function CreateExperimentalInner() {
// `error` ist davon ausgenommen: das sind Laufzeitfehler eines konkreten
// Laufs, die die Karte nicht erklaert — und nur sie tragen das
// Schliesskreuz.
+ const comfyStarting = idleNotice === IDLE_STARTING
const setupCardOwnsStage = stageShowsSetupCard({
backend,
requiresModels: INTENT_MAP[intent].requiresModels,
mlxMissing,
connected,
+ comfyStarting,
modelsLoaded,
laneModelCount: laneModelCount(intent, INTENT_MAP[intent].requiresModels, {
image: imageModelList, video: videoModelList, audio: audioModelList,
@@ -424,6 +426,7 @@ function CreateExperimentalInner() {
onEditResult={editAvailable ? (it) => { void editResultWithMask(it) } : undefined}
onAnimateResult={animateAvailable ? (it) => { void animateResult(it) } : undefined}
onFullscreen={(it) => setLightbox(it)}
+ comfyStarting={comfyStarting}
/>
<CreatePanel open={panelOpen} onOpenChange={setPanelOpen} activeId={shownId} onSelect={openGalleryItem} />
<PresetShelf
diff --git a/src/components/create/experimental/ParamGroups.tsx b/src/components/create/experimental/ParamGroups.tsx
index 2bd63965..70ef7a69 100644
--- a/src/components/create/experimental/ParamGroups.tsx
+++ b/src/components/create/experimental/ParamGroups.tsx
@@ -267,7 +267,7 @@ export function ParamGroups() {
<span className="truncate">{name.replace(/\.safetensors$/, '')}</span>
<span className={cn('t-mono', active && fits ? 'text-emerald-400' : 'text-gray-600')}>{active ? (fits ? 'on' : 'Z-Image only') : 'off'}</span>
</button>
- {active && (
+ {active && fits && (
<div className="px-2.5 pb-2">
<Slider min={0} max={2} step={0.05} value={active.strength} onChange={(v) => s.setLoraStrengthFor(name, v)} format={(v) => v.toFixed(2)} />
</div>
diff --git a/src/components/create/experimental/Stage.tsx b/src/components/create/experimental/Stage.tsx
index 5ebb0168..9fb62ab3 100644
--- a/src/components/create/experimental/Stage.tsx
+++ b/src/components/create/experimental/Stage.tsx
@@ -37,9 +37,11 @@ interface Props {
* as onEditResult above. */
onAnimateResult?: (item: GalleryItem) => void
onFullscreen: (item: GalleryItem) => void
+ /** ComfyUI is coming up: no setup card in that window (./stageGate). */
+ comfyStarting?: boolean
}
-export function Stage({ displayed, onOpenMaskEditor, onEditResult, onAnimateResult, onFullscreen }: Props) {
+export function Stage({ displayed, onOpenMaskEditor, onEditResult, onAnimateResult, onFullscreen, comfyStarting }: Props) {
const intent = useCreateStore((s) => s.intent())
const meta = INTENT_MAP[intent]
const isGenerating = useCreateStore((s) => s.isGenerating)
@@ -78,6 +80,7 @@ export function Stage({ displayed, onOpenMaskEditor, onEditResult, onAnimateResu
requiresModels: meta.requiresModels,
mlxMissing,
connected,
+ comfyStarting,
modelsLoaded,
laneModelCount: laneModelCount(intent, meta.requiresModels, {
image: imageModelList, video: videoModelList, audio: audioModelList,
diff --git a/src/components/create/experimental/__tests__/ein-zustand-eine-stimme.test.ts b/src/components/create/experimental/__tests__/ein-zustand-eine-stimme.test.ts
index 2c4a7177..467a4f2c 100644
--- a/src/components/create/experimental/__tests__/ein-zustand-eine-stimme.test.ts
+++ b/src/components/create/experimental/__tests__/ein-zustand-eine-stimme.test.ts
@@ -123,6 +123,9 @@ describe('D-S31: die Regel selbst', () => {
it('meldet ein nicht erreichbares ComfyUI', () => {
expect(stageShowsSetupCard({ ...basis, connected: false })).toBe(true)
+ // Gegenprobe 02.10.2026: while ComfyUI is starting, the probe says false
+ // and the models are already on disk. No 6.5 GB offer in that window.
+ expect(stageShowsSetupCard({ ...basis, connected: false, comfyStarting: true })).toBe(false)
})
it('meldet eine leere Spur', () => {
diff --git a/src/components/create/experimental/stageGate.ts b/src/components/create/experimental/stageGate.ts
index 2ce16f3e..de87dc82 100644
--- a/src/components/create/experimental/stageGate.ts
+++ b/src/components/create/experimental/stageGate.ts
@@ -47,6 +47,12 @@ export interface StageGateInput {
mlxMissing: { image: boolean; video: boolean } | null
/** ComfyUI-Sonde: null solange sie laeuft. */
connected: boolean | null
+ /** Ein ComfyUI-Prozess laeuft, hat den Port aber noch nicht gebunden
+ * (comfyui_status.starting). Gegenprobe 02.10.2026: in genau diesem Fenster
+ * sagte die Sonde `false`, und die Buehne bot einen 6,5-GB-Download an,
+ * waehrend oben "ComfyUI is starting up." stand und die Modelle laengst da
+ * waren. Ein Klick haette Juggernaut ein zweites Mal geladen. */
+ comfyStarting?: boolean
modelsLoaded: boolean
/** Wie viele Modelle diese Spur tatsaechlich anbieten kann. */
laneModelCount: number
@@ -71,7 +77,7 @@ export function stageShowsSetupCard(i: StageGateInput): boolean {
if (macMissing) return true
return (
i.mlxMissing === null && i.backend === 'local' && !!i.requiresModels && (
- i.connected === false ||
+ (i.connected === false && !i.comfyStarting) ||
(i.connected === true && i.modelsLoaded && i.laneModelCount === 0)
)
)
diff --git a/src/components/settings/ProviderConfig.tsx b/src/components/settings/ProviderConfig.tsx
index 8398545d..5b9f8c1c 100644
--- a/src/components/settings/ProviderConfig.tsx
+++ b/src/components/settings/ProviderConfig.tsx
@@ -532,7 +532,7 @@ export function ProviderSettings() {
>
<AlertTriangle size={11} className="shrink-0 mt-0.5" />
<span className="flex-1 min-w-0">
- LU Engine is missing from your providers. Restore it below. We are fixing the cause in the next update.
+ LU Engine is missing from your providers. Restore it below.
</span>
<button
onClick={() => selectPreset(PROVIDER_PRESETS.find(p => p.id === 'builtin')!)}
diff --git a/src/components/settings/__tests__/engine-missing-notice.test.ts b/src/components/settings/__tests__/engine-missing-notice.test.ts
index d6a6cfde..fa766ba0 100644
--- a/src/components/settings/__tests__/engine-missing-notice.test.ts
+++ b/src/components/settings/__tests__/engine-missing-notice.test.ts
@@ -91,7 +91,9 @@ describe('the LU Engine missing notice in Settings, AI Backends, Providers', ()
await open()
const notice = screen.getByTestId('engine-missing-notice')
expect(notice.textContent).toContain('LU Engine is missing from your providers')
- expect(notice.textContent).toContain('We are fixing the cause in the next update')
+ // 3.0.4 Gegenprobe 02.10.: the line promised a fix "in the next update"
+ // since 21.09. and no update carried it. It promises nothing now.
+ expect(notice.textContent).not.toMatch(/next update/i)
// Opus review, Blocker 2: the notice must never claim local chat is
// broken, since a working local backend can be sitting right there in
// the slot Jan occupies here.
diff --git a/src/lib/release-notes.ts b/src/lib/release-notes.ts
index f7c708c9..86bef8a8 100644
--- a/src/lib/release-notes.ts
+++ b/src/lib/release-notes.ts
@@ -156,7 +156,7 @@ export const RELEASE_NOTES: ReleaseNote[] = [
},
{
title: 'Fixes from GitHub and Discord.',
- detail: 'A group chat answers with every LU Engine model in it, also when the models sit in your Model Storage folder. Ollama models download without one already installed. A GGUF from the CivitAI search lands where ComfyUI reads it. A fresh ComfyUI install on Windows gets its own Python environment, which fixes "hipdnn_backend.dll Bad Image" on AMD cards. The window no longer disappears on Linux. A character trained on your own machine takes up to 100 photos, and Details on an LM Studio model says where to delete it. A newer image or video model with a missing encoder or VAE names that file and offers the download, instead of ending in "Value not in list". A LoRA deleted from the loras folder leaves the stack, a run only sends LoRAs ComfyUI lists, and Clear turns the stack off. The Code agent runs tool calls a cloud model writes into its answer or sends under the name "function", instead of stopping on them. A downloaded render is always the one you picked, and Download in the gallery strip opens the Save dialog on Windows.',
+ detail: 'A group chat answers with every LU Engine model in it, also when the models sit in your Model Storage folder. Ollama models download without one already installed. A GGUF from the CivitAI search lands where ComfyUI reads it. A fresh ComfyUI install on Windows gets its own Python environment, which fixes "hipdnn_backend.dll Bad Image" on AMD cards. The window no longer disappears on Linux. A character trained on your own machine takes up to 100 photos, and Details on an LM Studio model says where to delete it. A newer image or video model with a missing encoder or VAE names that file and offers the download, instead of ending in "Value not in list". A LoRA deleted from the loras folder leaves the stack, a run only sends LoRAs ComfyUI lists, and Clear turns the stack off. The Code agent runs tool calls a cloud model writes into its answer or sends under the name "function", instead of stopping on them. A downloaded render is always the one you picked, and Download in the gallery strip opens the Save dialog on Windows. Create no longer offers the starter download while ComfyUI is still starting.',
},
{
title: 'Writing a long file no longer ends the run.',