From 93388f711a102b6510abc729bd06ac0fc686904a Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Thu, 3 Sep 2026 08:55:14 -0700 Subject: [PATCH] fix(terminal): stop duplicating agent tool calls above the output The agent-stream tool chrome rendered a collapsible "Tools" list above the terminal output panel, while the same calls remained inline in the block's toolCalls output field. Drop the header so tool calls read inline again. Co-Authored-By: Claude Opus 5 (1M context) Claude-Session: https://claude.ai/code/session_01CimY1cwvWpQs3RY5MXtdE3 --- .../components/output-panel/output-panel.tsx | 38 +++++-------------- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/components/output-panel/output-panel.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/components/output-panel/output-panel.tsx index 5cf8d3fb57f..abb6c091069 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/components/output-panel/output-panel.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/terminal/components/output-panel/output-panel.tsx @@ -25,10 +25,7 @@ import { } from '@sim/emcn/icons' import clsx from 'clsx' import Link from 'next/link' -import { - AgentStreamThinkingChrome, - AgentStreamToolCallsChrome, -} from '@/components/agent-stream/agent-stream-chrome' +import { AgentStreamThinkingChrome } from '@/components/agent-stream/agent-stream-chrome' import { OutputContextMenu, StructuredOutput, @@ -544,31 +541,14 @@ export const OutputPanel = React.memo(function OutputPanel({ className={clsx('flex-1 overflow-y-auto', !wrapText && 'overflow-x-auto')} onContextMenu={handleOutputPanelContextMenu} > - {!showInput && - (selectedEntry.agentStreamThinking || - (selectedEntry.agentStreamToolCalls && - selectedEntry.agentStreamToolCalls.length > 0)) && ( -
- {selectedEntry.agentStreamThinking ? ( - - ) : null} - {selectedEntry.agentStreamToolCalls && - selectedEntry.agentStreamToolCalls.length > 0 ? ( - t.status === 'running') - )} - /> - ) : null} -
- )} + {!showInput && selectedEntry.agentStreamThinking && ( +
+ +
+ )} {shouldShowCodeDisplay ? (