fix: remove duplicate cache display in task header (#7443)

This commit is contained in:
Matt Rubens 2025-08-26 22:11:35 -04:00 committed by GitHub
parent ff1f4f0398
commit 3528f51304
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -264,19 +264,6 @@ const TaskHeader = ({
</tr>
)}
{/* Cache size display */}
{((typeof cacheReads === "number" && cacheReads > 0) ||
(typeof cacheWrites === "number" && cacheWrites > 0)) && (
<tr>
<th className="font-bold text-left align-top w-1 whitespace-nowrap pl-1 pr-3 h-[24px]">
{t("chat:task.cache")}
</th>
<td className="align-top">
{prettyBytes(((cacheReads || 0) + (cacheWrites || 0)) * 4)}
</td>
</tr>
)}
{/* Size display */}
{!!currentTaskItem?.size && currentTaskItem.size > 0 && (
<tr>