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

Function workerCodeFilePath

core/llm/asyncEncoder.ts:58–64  ·  view source on GitHub ↗
(workerFileName: string)

Source from the content-addressed store, hash-verified

56}
57
58function workerCodeFilePath(workerFileName: string): string {
59 if (process.env.NODE_ENV === "test") {
60 // `cross-env` seems to make it so __dirname is the root of the project and not the directory containing this file
61 return path.join(__dirname, "llm", workerFileName);
62 }
63 return path.join(__dirname, workerFileName);
64}

Callers 2

constructorMethod · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected