MCPcopy Create free account
hub / github.com/Epic0522/Codex-Remote-Contact / formatTokenNumber

Function formatTokenNumber

modules/mac-client/Resources/client.js:477–481  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

475}
476
477function formatTokenNumber(value) {
478 const numeric = Number(value);
479 if (!Number.isFinite(numeric)) return "--";
480 return Math.round(numeric).toLocaleString("en-US");
481}
482
483function formatContextWindow(value) {
484 const numeric = Number(value);

Callers 1

renderCodexQuotaBlockFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected