(overrides: Partial<DeployComponent> = {})
| 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. |
| 28 | function 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. |
no outgoing calls
no test coverage detected