diff --git a/frontend/src/components/thread/tool-views/BrowserToolView.tsx b/frontend/src/components/thread/tool-views/BrowserToolView.tsx index c5f908d2..6d88c996 100644 --- a/frontend/src/components/thread/tool-views/BrowserToolView.tsx +++ b/frontend/src/components/thread/tool-views/BrowserToolView.tsx @@ -185,11 +185,11 @@ export function BrowserToolView({ if (screenshotUrl) { return ( -
+
{imageLoading && ( )} - {!imageLoading && !imageError && ( + Browser Screenshot - )} + {imageError && !imageLoading && (
@@ -210,11 +210,11 @@ export function BrowserToolView({ ); } else if (screenshotBase64) { return ( -
+
{imageLoading && ( )} - {!imageLoading && !imageError && ( + Browser Screenshot - )} + {imageError && !imageLoading && (
@@ -280,7 +280,7 @@ export function BrowserToolView({ -
+
{isLastToolCall ? ( isRunning && vncIframe ? (
@@ -328,12 +328,12 @@ export function BrowserToolView({ ) ) : (screenshotUrl || screenshotBase64) ? ( -
+
{imageLoading && ( )} - {!imageLoading && !imageError && ( - screenshotUrl ? ( + + {screenshotUrl ? ( Browser Screenshot - ) - )} + )} + {imageError && !imageLoading && (