ProcessConfig
Defined in: packages/ai.matey.types/src/model-runner.ts:83
Process execution configuration.
Properties
Section titled “Properties”
optionalargs:string[]
Defined in: packages/ai.matey.types/src/model-runner.ts:96
Command-line arguments. Can include placeholders: {modelPath}, {port}, {contextSize}, etc.
Example
Section titled “Example”['--model', '{modelPath}', '--ctx-size', '{contextSize}']captureStderr?
Section titled “captureStderr?”
optionalcaptureStderr:boolean
Defined in: packages/ai.matey.types/src/model-runner.ts:119
Capture stderr from the process.
Default
Section titled “Default”truecaptureStdout?
Section titled “captureStdout?”
optionalcaptureStdout:boolean
Defined in: packages/ai.matey.types/src/model-runner.ts:113
Capture stdout from the process.
Default
Section titled “Default”truecommand
Section titled “command”command:
string
Defined in: packages/ai.matey.types/src/model-runner.ts:89
Command to execute (binary path or command name).
Examples
Section titled “Examples”'/usr/local/bin/llama-cpp-server''ollama'
optionalcwd:string
Defined in: packages/ai.matey.types/src/model-runner.ts:107
Working directory for the process.
optionalenv:Record<string,string>
Defined in: packages/ai.matey.types/src/model-runner.ts:102
Environment variables for the process.
Example
Section titled “Example”{ CUDA_VISIBLE_DEVICES: '0' }