fix: Use node.name in node_label calculation (minimal change)
- Add name field to WorkflowNode model - Extend node_label priority: node.name > prompt_slug > node_type-id - No new fields in NodeExecutionState (uses existing debug_prompt_slug) - Simpler approach than previous attempt to avoid 504 timeout
This commit is contained in:
1 parent
b7062d32bf
commit
d5325acee6
2 files changed
+5
-1
No files matched your search
@@ -196,6 +196,7 @@ class WorkflowNode(BaseModel):
|
||||
"""
|
||||
id: str = Field(..., description="Eindeutige Knoten-ID")
|
||||
type: NodeType = Field(..., description="Knotentyp")
|
||||
name: Optional[str] = Field(None, description="Node-Name (vom Editor)")
|
||||
position: Optional[Position] = Field(None, description="Position im visuellen Editor")
|
||||
|
||||
# ANALYSIS-Knoten
|
||||
|
||||
Reference in new issue
Block a user