Skip to content

ProcessConfig

Defined in: packages/ai.matey.types/src/model-runner.ts:83

Process execution configuration.

optional args: string[]

Defined in: packages/ai.matey.types/src/model-runner.ts:96

Command-line arguments. Can include placeholders: {modelPath}, {port}, {contextSize}, etc.

['--model', '{modelPath}', '--ctx-size', '{contextSize}']

optional captureStderr: boolean

Defined in: packages/ai.matey.types/src/model-runner.ts:119

Capture stderr from the process.

true

optional captureStdout: boolean

Defined in: packages/ai.matey.types/src/model-runner.ts:113

Capture stdout from the process.

true

command: string

Defined in: packages/ai.matey.types/src/model-runner.ts:89

Command to execute (binary path or command name).

'/usr/local/bin/llama-cpp-server'
'ollama'

optional cwd: string

Defined in: packages/ai.matey.types/src/model-runner.ts:107

Working directory for the process.


optional env: Record<string, string>

Defined in: packages/ai.matey.types/src/model-runner.ts:102

Environment variables for the process.

{ CUDA_VISIBLE_DEVICES: '0' }