fix workflow graph building logic for loop blocks (#4228)

This commit is contained in:
Shuchang Zheng
2025-12-08 11:35:54 -08:00
committed by GitHub
parent 8ece382197
commit 7ef48c32e0

View File

@@ -1326,7 +1326,8 @@ class WorkflowService:
self,
blocks: list[BlockTypeVar],
) -> tuple[str, dict[str, BlockTypeVar], dict[str, str | None]]:
all_blocks = get_all_blocks(blocks)
# all_blocks = get_all_blocks(blocks)
all_blocks = blocks
label_to_block: dict[str, BlockTypeVar] = {}
default_next_map: dict[str, str | None] = {}