LifecycleConfig
Defined in: packages/ai.matey.types/src/model-runner.ts:203
Lifecycle management configuration.
Properties
Section titled “Properties”autoRestart?
Section titled “autoRestart?”
optionalautoRestart:boolean
Defined in: packages/ai.matey.types/src/model-runner.ts:232
Restart the process if it crashes.
Default
Section titled “Default”falseautoStart?
Section titled “autoStart?”
optionalautoStart:boolean
Defined in: packages/ai.matey.types/src/model-runner.ts:208
Automatically start the process on construction.
Default
Section titled “Default”falseautoStop?
Section titled “autoStop?”
optionalautoStop:boolean
Defined in: packages/ai.matey.types/src/model-runner.ts:214
Automatically stop the process on dispose.
Default
Section titled “Default”truehealthCheckInterval?
Section titled “healthCheckInterval?”
optionalhealthCheckInterval:number
Defined in: packages/ai.matey.types/src/model-runner.ts:245
Health check interval (milliseconds). 0 = disabled
Default
Section titled “Default”0maxRestarts?
Section titled “maxRestarts?”
optionalmaxRestarts:number
Defined in: packages/ai.matey.types/src/model-runner.ts:238
Maximum restart attempts.
Default
Section titled “Default”3shutdownTimeout?
Section titled “shutdownTimeout?”
optionalshutdownTimeout:number
Defined in: packages/ai.matey.types/src/model-runner.ts:226
Timeout for graceful shutdown (milliseconds).
Default
Section titled “Default”5000 (5 seconds)startupTimeout?
Section titled “startupTimeout?”
optionalstartupTimeout:number
Defined in: packages/ai.matey.types/src/model-runner.ts:220
Timeout for process startup (milliseconds).
Default
Section titled “Default”60000 (60 seconds)