Skip to content

Stop Failure

Configuration for stop failure hook commands that run when a turn ends due to an API error

List of commands to execute when a turn ends due to an API error (rate limit, auth failure, etc.). Commands run in order and can provide custom error messages.

AttributeValue
Typearray
Default[]

This section uses the following nested type definitions:

Configuration for individual stop commands with optional messages

Properties:

PropertyTypeDefaultDescription
maxOutputLines`integernull`null
message`stringnull`null
notifyPerCommand`booleannull`null
runstring-The shell command to execute
showCommand`booleannull`true
showStderr`booleannull`null
showStdout`booleannull`null
timeout`integernull`null