MCPcopy Create free account
hub / github.com/FIND-Lab/AgentWard / model-worker.ts

File model-worker.ts

worker/model-worker.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { workerData, parentPort } from 'worker_threads';
2import { readFileSync, writeFileSync } from 'node:fs';
3import { join } from 'node:path';
4import { completeSimple, type Model, type Api } from "@mariozechner/pi-ai";

Callers

nothing calls this directly

Calls 2

logFunction · 0.85
runWorkerFunction · 0.85

Tested by

no test coverage detected