Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
import
{ workerData, parentPort } from
'worker_threads'
;
2
import
{ readFileSync, writeFileSync } from
'node:fs'
;
3
import
{ join } from
'node:path'
;
4
import
{ completeSimple,
type
Model,
type
Api } from
"@mariozechner/pi-ai"
;
Callers
nothing calls this directly
Calls
2
log
Function · 0.85
runWorker
Function · 0.85
Tested by
no test coverage detected