This commit is contained in:
wailovet
2024-04-30 23:05:23 +08:00
parent 1a14e7de8f
commit 3fd8eab150
+2 -2
View File
@@ -93,8 +93,8 @@ class MZ_CustomizeInstruct:
FUNCTION = "create"
CATEGORY = CATEGORY_NAME
def create(self, system, instruct, prefix, suffix):
return ({"system": system, "instruct": instruct},)
def create(self, **kwargs):
return (kwargs,)
NODE_CLASS_MAPPINGS["MZ_CustomizeInstruct"] = MZ_CustomizeInstruct
NODE_DISPLAY_NAME_MAPPINGS["MZ_CustomizeInstruct"] = f"{AUTHOR_NAME} - CustomizeInstruct"