fix: combine status usage and cost line

This commit is contained in:
Peter Steinberger committed 2026-01-09 03:45:01 +00:00
1 parent 16cfd24967
commit 69546d563d
2 files changed
+4 -4

No files matched your search

+3 -2
View File
@@ -328,12 +328,13 @@ export function buildStatusMessage(args: StatusArgs): string {
const versionLine = `🦞 ClawdBot ${VERSION}${commit ? ` (${commit})` : ""}`;
const usagePair = formatUsagePair(inputTokens, outputTokens);
const costLine = costLabel ? `💵 Cost: ${costLabel}` : null;
const usageCostLine =
usagePair && costLine ? `${usagePair} · ${costLine}` : usagePair ?? costLine;
return [
versionLine,
modelLine,
usagePair,
costLine,
usageCostLine,
`📚 ${contextLine}`,
args.usageLine,
`🧵 ${sessionLine}`,