Revert "feat: Show node.name from workflow editor in debug panel"
This reverts commit 5fa2ea2e6b.
This commit is contained in:
1 parent
5fa2ea2e6b
commit
b7062d32bf
3 files changed
+2
-7
No files matched your search
@@ -166,13 +166,10 @@ async def execute_workflow(
|
||||
enable_debug=enable_debug
|
||||
)
|
||||
|
||||
# Add human-readable label and name to node_state for debug UI
|
||||
# Add human-readable label to node_state for debug UI
|
||||
node_label = node.prompt_slug if hasattr(node, 'prompt_slug') and node.prompt_slug else f"{node.type.value}-{node_id[:8]}"
|
||||
if not node_state.debug_prompt_slug:
|
||||
node_state.debug_prompt_slug = node_label
|
||||
# Set node_name from graph (user-defined name in editor)
|
||||
if not node_state.node_name and hasattr(node, 'name'):
|
||||
node_state.node_name = node.name
|
||||
|
||||
node_states.append(node_state)
|
||||
context["node_results"][node_id] = node_state
|
||||
|
||||
Reference in new issue
Block a user