Skip to content

Commit b616aa3

Browse files
authored
fix: show tool location and kind when no output (#6441)
1 parent d7ca5cb commit b616aa3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/src/components/chat/acp/blocks.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,7 +673,9 @@ export const ToolBodyBlock = (props: {
673673
);
674674
}
675675

676-
if (content?.length && hasLocations) {
676+
const noContent = !textContent || textContent.length === 0;
677+
const noDiffs = !diffs || diffs.length === 0;
678+
if (noContent && noDiffs && hasLocations) {
677679
return (
678680
<div className="flex flex-col gap-2 pr-2">
679681
<span className="text-xs text-muted-foreground">

0 commit comments

Comments
 (0)