File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/tool-call Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,8 @@ import {
1818import { CopilotMarkdownRenderer } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/markdown-renderer'
1919import { SmoothStreamingText } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/smooth-streaming'
2020import { ThinkingBlock } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/thinking-block'
21+ import { LoopTool } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/subflows/loop/loop-config'
22+ import { ParallelTool } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/subflows/parallel/parallel-config'
2123import { getDisplayValue } from '@/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/workflow-block'
2224import { getBlock } from '@/blocks/registry'
2325import type { CopilotToolCall } from '@/stores/panel'
@@ -1131,6 +1133,12 @@ const WorkflowEditSummary = memo(function WorkflowEditSummary({
11311133 }
11321134
11331135 const getBlockConfig = ( blockType : string ) => {
1136+ if ( blockType === 'loop' ) {
1137+ return { icon : LoopTool . icon , bgColor : LoopTool . bgColor }
1138+ }
1139+ if ( blockType === 'parallel' ) {
1140+ return { icon : ParallelTool . icon , bgColor : ParallelTool . bgColor }
1141+ }
11341142 return getBlock ( blockType )
11351143 }
11361144
You can’t perform that action at this time.
0 commit comments