Rebalance the data in the expand column

This commit is contained in:
Owen
2026-08-13 09:38:22 -04:00
parent e100645a00
commit c35ac493ed
+3 -27
View File
@@ -551,27 +551,9 @@ export default function AiSessionLogsPage() {
</p> </p>
</div> </div>
<div> <div>
<strong>{t("virtualApiKey")}</strong> <strong>{t("totalTokens")}</strong>
<p className="text-muted-foreground mt-1 break-all"> <p className="text-muted-foreground mt-1">
{row.virtualApiKeyId ? ( {row.usage.totalTokens.toLocaleString()}
<>
{row.virtualApiKeyName ??
t("aiUsageUnnamedVirtualApiKey")}
{row.virtualApiKeyLastChars && (
<>
{" "}
(
{formatVirtualApiKeyPreview(
row.virtualApiKeyId,
row.virtualApiKeyLastChars
)}
)
</>
)}
</>
) : (
t("noVirtualApiKey")
)}
</p> </p>
</div> </div>
</div> </div>
@@ -608,12 +590,6 @@ export default function AiSessionLogsPage() {
{row.usage.reasoningTokens.toLocaleString()} {row.usage.reasoningTokens.toLocaleString()}
</p> </p>
</div> </div>
<div>
<strong>{t("totalTokens")}</strong>
<p className="text-muted-foreground mt-1">
{row.usage.totalTokens.toLocaleString()}
</p>
</div>
</div> </div>
</div> </div>
)} )}