MCPcopy
hub / github.com/anomalyco/models.dev / getLongContextMin

Function getLongContextMin

packages/core/script/generate-digitalocean.ts:349–351  ·  view source on GitHub ↗
(cost: { context_min?: number })

Source from the content-addressed store, hash-verified

347}
348
349function getLongContextMin(cost: { context_min?: number }) {
350 return cost.context_min ?? 200_000;
351}
352
353function formatInlineNumber(n: number): string {
354 return n >= 1000 ? n.toString().replace(/\B(?=(\d{3})+(?!\d))/g, "_") : n.toString();

Callers 1

formatTomlFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected