MCPcopy Create free account
hub / github.com/ForestHubAI/edge-agents / engineComponent

Function engineComponent

ts/workflow-cli/cli/deploy/generate.test.ts:28–37  ·  view source on GitHub ↗
(overrides: Partial<DeployComponent> = {})

Source from the content-addressed store, hash-verified

26// The engine as the resolver produces it: a generic component with the config
27// blob, the memory volume, and (when hardware is present) devices/privileged/user.
28function engineComponent(overrides: Partial<DeployComponent> = {}): DeployComponent {
29 return {
30 name: "engine",
31 image: "engine:latest",
32 pull: "never",
33 config: { workflow: bareWorkflow },
34 volumes: ["./workspaces/engine:/var/lib/foresthub/workspace"],
35 ...overrides,
36 };
37}
38
39// The shared on-device llama component: self-built, pull:never, the models list as a
40// config blob (config.json), weights in the workspace mount.

Callers 2

specOfFunction · 0.70
generate.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected