mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-14 00:09:55 +02:00
Rebalance the data in the expand column
This commit is contained in:
@@ -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>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user