diff --git a/src/components/chat/tools/ToolRenderer.tsx b/src/components/chat/tools/ToolRenderer.tsx index 5713fcc7..00e29400 100644 --- a/src/components/chat/tools/ToolRenderer.tsx +++ b/src/components/chat/tools/ToolRenderer.tsx @@ -136,7 +136,7 @@ export const ToolRenderer: React.FC = memo(({ wrapText={displayConfig.wrapText} colorScheme={displayConfig.colorScheme} resultId={mode === 'input' ? `tool-result-${toolId}` : undefined} - status={toolStatus} + status={toolStatus !== 'completed' ? toolStatus : undefined} /> ); } @@ -266,7 +266,7 @@ export const ToolRenderer: React.FC = memo(({ }) : undefined; - const badgeElement = toolStatus ? : undefined; + const badgeElement = toolStatus && toolStatus !== 'completed' ? : undefined; return (