MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / formatMiB

Function formatMiB

packages/plugins/openapi/src/sdk/parse.ts:36–36  ·  view source on GitHub ↗
(chars: number)

Source from the content-addressed store, hash-verified

34export const MAX_YAML_SPEC_LINES = 400_000;
35
36const formatMiB = (chars: number): string => `${Math.ceil((chars / MiB) * 10) / 10}MB`;
37
38const specGuidance =
39 "Filter the spec to the operations you need before adding it, or use a curated " +

Callers 1

specTooLargeMessageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected