chore: remove block code

This commit is contained in:
Joel
2026-03-23 16:32:48 +08:00
parent a659296dc7
commit 2cbc8da9cb
29 changed files with 64 additions and 1734 deletions

View File

@ -65,7 +65,6 @@ class NodeType(StrEnum):
HUMAN_INPUT = "human-input"
COMMAND = "command"
FILE_UPLOAD = "file-upload"
GROUP = "group"
@property
def is_trigger_node(self) -> bool:

View File

@ -309,11 +309,10 @@ class Graph:
# Filter out UI-only node types:
# - custom-note: top-level type (node_config.type == "custom-note")
# - group: data-level type (node_config.data.type == "group")
node_configs = [
node_config
for node_config in node_configs
if node_config.get("type", "") != "custom-note" and node_config.get("data", {}).get("type", "") != "group"
if node_config.get("type", "") != "custom-note"
]
# Parse node configurations