diff --git a/server/gx-workflow-ls-native/src/nativeWorkflowDocument.ts b/server/gx-workflow-ls-native/src/nativeWorkflowDocument.ts index f42ce85..287b059 100644 --- a/server/gx-workflow-ls-native/src/nativeWorkflowDocument.ts +++ b/server/gx-workflow-ls-native/src/nativeWorkflowDocument.ts @@ -55,6 +55,10 @@ export class NativeWorkflowDocument extends WorkflowDocument { } } } + if (!labelValue) { + const nameNode = step.properties.find((property) => property.keyNode.value === "name"); + labelValue = nameNode?.valueNode?.value; + } const toolStateNode = step.properties.find((property) => property.keyNode.value === "tool_state"); const toolStateValue = JSON.parse( toolStateNode?.valueNode?.value ? String(toolStateNode?.valueNode?.value) : "{}"