diff --git a/components/agents/AgentWorkflowPanelDarkV2.tsx b/components/agents/AgentWorkflowPanelDarkV2.tsx index 84d474716..b56e4cc13 100644 --- a/components/agents/AgentWorkflowPanelDarkV2.tsx +++ b/components/agents/AgentWorkflowPanelDarkV2.tsx @@ -706,20 +706,6 @@ export function AgentWorkflowPanelDarkV2({ step, selectionValue: selections[step.key], }); - const deepestSelectedLevel = Math.max( - 0, - ...stepOptionLevels.map((level) => (level.selectedKey ? level.depth : 0)) - ); - const activeStepChildLabel = - active && stepOptionLevels.length > 1 - ? `${ - getWorkflowOptionDepthLabel( - activeEmbeddedOptionLevel?.depth || 1 - ) - }` - : deepestSelectedLevel > 1 - ? `已到 ${deepestSelectedLevel} 级` - : ""; return ( @@ -765,18 +751,6 @@ export function AgentWorkflowPanelDarkV2({ ) : null}
- {activeStepChildLabel ? ( - - {activeStepChildLabel} - - ) : null} {stepSelectedPath.length > 0 ? (
{stepSelectedPath.map((option, optionIndex) => {