Compare commits

...

10 Commits

Author SHA1 Message Date
Deep Mehta
1bb8873e05 merge: resolve conflicts with main (MODEL_NODE_MAPPINGS refactor) 2026-03-25 17:26:13 -07:00
Deep Mehta
a52579dc2d refactor: remove redundant exact match check - loop handles it 2026-03-18 10:14:11 -07:00
Deep Mehta
b41e0009ae Merge branch 'fix/model-to-node-nested-directory-fallback' of https://github.com/Comfy-Org/ComfyUI_frontend into fix/model-to-node-nested-directory-fallback 2026-03-18 10:05:57 -07:00
Deep Mehta
0049de780d refactor: simplify fallback loop to start at segments.length 2026-03-18 10:05:09 -07:00
Deep Mehta
df772c6201 Merge branch 'main' into fix/model-to-node-nested-directory-fallback 2026-03-18 09:45:36 -07:00
Deep Mehta
a624caed6c Merge branch 'fix/model-to-node-nested-directory-fallback' of https://github.com/Comfy-Org/ComfyUI_frontend into fix/model-to-node-nested-directory-fallback 2026-03-18 09:41:31 -07:00
Deep Mehta
013a50ce13 test: add progressive hierarchical fallback tests for 1-4 level paths 2026-03-18 09:40:41 -07:00
Alexander Brown
0d257c79fb Merge branch 'main' into fix/model-to-node-nested-directory-fallback 2026-03-17 23:08:54 -07:00
Deep Mehta
cc4cca616e fix: use empty key for CogVideo HF-download node registrations
DownloadAndLoadCogVideoControlNet and DownloadAndLoadCogVideoModel use
HuggingFace repo names, not file-based assets. Registering with
key='model' causes shouldUseAssetBrowser to replace the combo dropdown
with the asset browser, which finds no matching assets and shows an
empty list.

Use empty key '' to keep "Use" button working while preventing asset
browser takeover — matching the pattern used by other HF-download nodes
(Chatterbox, FlashVSR, LivePortrait, etc).
2026-03-17 21:10:19 -07:00
Deep Mehta
fae8f2024a fix: support progressive fallback for deeply nested model directories
Previously, modelToNode fallback only tried exact match then top-level
segment (e.g., "a/b/c" → "a"), skipping intermediate paths. Now tries
all parent paths progressively ("a/b/c" → "a/b" → "a"), fixing custom
nodes with longer nested directory structures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 10:07:56 -07:00

Diff Content Not Available