fix: cost indentation
Node.js CI / Lint and Test (push) Successful in 39s

This commit is contained in:
2025-10-09 15:06:52 -07:00
parent 8eb0c19709
commit 2de490a3d7
+4 -5
View File
@@ -22,9 +22,8 @@ export const calculateCost = (
: 15) / 1_000_000); : 15) / 1_000_000);
const totalCost = inputCost + outputCost; const totalCost = inputCost + outputCost;
return `-# Accepted ${usage.input_tokens.toString()} and generated ${usage.output_tokens.toString()}. return `-# Accepted ${usage.input_tokens.toString()} and generated ${usage.output_tokens.toString()}.
-# Total cost: ${totalCost.toLocaleString("en-GB", {
-# Total cost: ${totalCost.toLocaleString("en-GB", { currency: "USD",
currency: "USD", style: "currency",
style: "currency", })}`;
})}`;
}; };