This commit is contained in:
Vinci 2026-05-10 14:51:46 +08:00 committed by GitHub
commit 72cd6bb381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -414,7 +414,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)
def _send_cached_ui(server, node_id, display_node_id, cached, prompt_id, ui_outputs):