update error message
This commit is contained in:
+3
-1
@@ -55,7 +55,9 @@ def schema_validator(prompt):
|
||||
"outputs": {}
|
||||
}
|
||||
for node_id, node_info in prompt.items():
|
||||
node_class_type = node_info["class_type"]
|
||||
node_class_type = node_info.get("class_type")
|
||||
if node_class_type is None:
|
||||
raise NotImplementedError(f"Missing nodes founded, please first install the missing nodes using ComfyUI Manager")
|
||||
node_cls = NODE_CLASS_MAPPINGS[node_class_type]
|
||||
if hasattr(node_cls, "RELATIVE_PYTHON_MODULE") and node_cls.RELATIVE_PYTHON_MODULE == "custom_nodes.ComfyUI-ShellAgent-Plugin":
|
||||
schema = {}
|
||||
|
||||
Reference in New Issue
Block a user