TerminationSignal

data class TerminationSignal(val scope: TerminationScope, val reason: String)

Signal for graceful termination. When set on the agent process, the agent or action will terminate at the next natural checkpoint.

For agent termination: checked before each tick() in AbstractAgentProcess. For action termination: checked between tool calls in the tool loop.

Parameters

scope

Whether to terminate agent or action

reason

Human-readable explanation for termination

Constructors

Link copied to clipboard
constructor(scope: TerminationScope, reason: String)

Properties

Link copied to clipboard
Link copied to clipboard