Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

fix: show tool location and kind when no output (#6441)

Myles Scolnickb616aa328a02
diff --git a/frontend/src/components/chat/acp/blocks.tsx b/frontend/src/components/chat/acp/blocks.tsx
index 20c7211e58..6c8a1f1972 100644
--- a/frontend/src/components/chat/acp/blocks.tsx
+++ b/frontend/src/components/chat/acp/blocks.tsx
@@ -673,7 +673,9 @@ export const ToolBodyBlock = (props: {
);
}
- if (content?.length && hasLocations) {
+ const noContent = !textContent || textContent.length === 0;
+ const noDiffs = !diffs || diffs.length === 0;
+ if (noContent && noDiffs && hasLocations) {
return (
<div className="flex flex-col gap-2 pr-2">
<span className="text-xs text-muted-foreground">