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

Method constructor

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

Source from the content-addressed store, hash-verified

12 private workerPool: workerpool.Pool;
13
14 constructor() {
15 this.workerPool = workerpool.pool(
16 workerCodeFilePath("llamaTokenizerWorkerPool.mjs"),
17 );
18 }
19
20 async encode(text: string): Promise<number[]> {
21 return this.workerPool.exec("encode", [text]);

Callers

nothing calls this directly

Calls 1

workerCodeFilePathFunction · 0.85

Tested by

no test coverage detected