MCPcopy Create free account
hub / github.com/continuedev/continue / constructor

Method constructor

core/llm/asyncEncoder.ts:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 private workerPool: workerpool.Pool;
37
38 constructor() {
39 this.workerPool = workerpool.pool(
40 workerCodeFilePath("tiktokenWorkerPool.mjs"),
41 );
42 }
43
44 async encode(text: string): Promise<number[]> {
45 return this.workerPool.exec("encode", [text]);

Callers

nothing calls this directly

Calls 1

workerCodeFilePathFunction · 0.85

Tested by

no test coverage detected