Skip to content

Commit be0c4c5

Browse files
authored
add web metadata (#284)
1 parent d1944c5 commit be0c4c5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

comfy_cli/registry/config_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ def extract_node_configuration(
296296
models=[Model(location=m["location"], model_url=m["model_url"]) for m in comfy_data.get("Models", [])],
297297
includes=comfy_data.get("includes", []),
298298
banner_url=comfy_data.get("Banner", ""),
299+
web=comfy_data.get("web", ""),
299300
)
300301

301302
return PyProjectConfig(project=project, tool_comfy=comfy)

comfy_cli/registry/types.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class ComfyConfig:
5353
models: List[Model] = field(default_factory=list)
5454
includes: List[str] = field(default_factory=list)
5555
banner_url: str = ""
56+
web: Optional[str] = None
5657

5758

5859
@dataclass

0 commit comments

Comments
 (0)