Skip to content

Commit 3528f51

Browse files
authored
fix: remove duplicate cache display in task header (#7443)
1 parent ff1f4f0 commit 3528f51

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

webview-ui/src/components/chat/TaskHeader.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -264,19 +264,6 @@ const TaskHeader = ({
264264
</tr>
265265
)}
266266

267-
{/* Cache size display */}
268-
{((typeof cacheReads === "number" && cacheReads > 0) ||
269-
(typeof cacheWrites === "number" && cacheWrites > 0)) && (
270-
<tr>
271-
<th className="font-bold text-left align-top w-1 whitespace-nowrap pl-1 pr-3 h-[24px]">
272-
{t("chat:task.cache")}
273-
</th>
274-
<td className="align-top">
275-
{prettyBytes(((cacheReads || 0) + (cacheWrites || 0)) * 4)}
276-
</td>
277-
</tr>
278-
)}
279-
280267
{/* Size display */}
281268
{!!currentTaskItem?.size && currentTaskItem.size > 0 && (
282269
<tr>

0 commit comments

Comments
 (0)