From 37d0671cb82857608af74cfb3936649f67877ebc Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 26 Aug 2025 21:44:30 -0400 Subject: [PATCH] fix: remove duplicate cache display in task header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove redundant second cache row that showed byte size calculation - Keep only the meaningful cache token count display (↑/↓ format) - Improves UI clarity by eliminating confusing duplicate information --- webview-ui/src/components/chat/TaskHeader.tsx | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/webview-ui/src/components/chat/TaskHeader.tsx b/webview-ui/src/components/chat/TaskHeader.tsx index 41826bc048..8fd06b168f 100644 --- a/webview-ui/src/components/chat/TaskHeader.tsx +++ b/webview-ui/src/components/chat/TaskHeader.tsx @@ -264,19 +264,6 @@ const TaskHeader = ({ )} - {/* Cache size display */} - {((typeof cacheReads === "number" && cacheReads > 0) || - (typeof cacheWrites === "number" && cacheWrites > 0)) && ( - - - {t("chat:task.cache")} - - - {prettyBytes(((cacheReads || 0) + (cacheWrites || 0)) * 4)} - - - )} - {/* Size display */} {!!currentTaskItem?.size && currentTaskItem.size > 0 && (