From 77ccd2016da81666cd800bba16c1f6dcacdad5a2 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Oct 2026 02:40:46 +0000 Subject: [PATCH] fix: the reference warning says when the server's preset has no video or audio routing Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01CHWxqHtxwWrq4kEyFTaHds --- app/ui/shell/pipeline_state.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/ui/shell/pipeline_state.js b/app/ui/shell/pipeline_state.js index 0d9fff99..87fabfa9 100644 --- a/app/ui/shell/pipeline_state.js +++ b/app/ui/shell/pipeline_state.js @@ -662,6 +662,7 @@ export function createPipelineState(rawApi, { answerMs = ANSWER_MS } = {}) { const mine = byId.get(ps.id); if (!mine) { if (!gone.has(ps.id)) grown.push(ps); } else if (mine.node === ps.node) mine.roles = JSON.parse(JSON.stringify(ps.roles)); } + if (!from.slots.some((x) => (x.roles || []).some((r) => r.wireKinds))) growth = `the server's preset \"${from.id}\" has no video or audio routing: ComfyUI's Python is older than this page, restart it after updating`; } else growth = `no preset matches this pipeline's media slots (${found.length} presets offered)`; } catch (e) { growth = `the preset list could not be read (${(e && e.message) || e})`; } const lay = (extras) => isWhole ? JSON.parse(JSON.stringify([...saved.filter(sound), ...(extras ? grown : [])])) : offered.filter((def) => !gone.has(def.id)).map((def) => {