This commit is contained in:
Vinci 2026-07-06 17:34:10 +08:00 committed by GitHub
commit d3792ae192
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -420,7 +420,9 @@ def format_value(x):
def _is_intermediate_output(dynprompt, node_id):
class_type = dynprompt.get_node(node_id)["class_type"]
class_def = nodes.NODE_CLASS_MAPPINGS[class_type]
class_def = nodes.NODE_CLASS_MAPPINGS.get(class_type)
if class_def is None:
return False
return getattr(class_def, 'HAS_INTERMEDIATE_OUTPUT', False)