ComfyUI's V3 entrypoint replaces NODE_CLASS_MAPPINGS, which must not exist at all: nodes.py checks it first and reaches comfy_entrypoint only in an elif, so an empty dict registers nothing and reports no error. A module declares NODES for graph structure and SETTINGS for preferences, and the two never mix -- a saved workflow stores class_type and input names, so letting a new setting add a socket would rot existing graphs. Traits now come from two places: facts core can read off any model, and providers announced by a model's own module. Core names no model, so supporting a new one is a folder rather than an edit here. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
15 lines
306 B
Python
15 lines
306 B
Python
"""VAE loader.
|
|
|
|
A node-only module: no settings, no panel, no mount. It exists to contribute one
|
|
ComfyUI node, which is why `SETTINGS` is absent rather than empty.
|
|
"""
|
|
|
|
from .nodes import FunPackVAELoader
|
|
|
|
ID = "loader_vae"
|
|
TITLE = "VAE loader"
|
|
STAGE = "load"
|
|
STATUS = "proven"
|
|
|
|
NODES = [FunPackVAELoader]
|