MCPcopy
hub / github.com/ericc-ch/copilot-api / Encoder

Interface Encoder

src/lib/tokenizer.ts:22–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21// Define encoder interface
22interface Encoder {
23 encode: (text: string) => Array<number>
24}
25
26// Cache loaded encoders to avoid repeated imports
27const encodingCache = new Map<string, Encoder>()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…