Early Termination
class EarlyTermination(val agentProcess: AgentProcess, val error: Boolean, val reason: String, val policy: EarlyTerminationPolicy) : AbstractAgentProcessEvent
Event triggered when an agent process is terminated early by a policy.
Parameters
agent Process
The agent process that is being terminated
error
Whether the termination is considered an error
reason
A human-readable explanation of why the process is being terminated
policy
The policy that triggered the termination
Constructors
Link copied to clipboard
constructor(agentProcess: AgentProcess, error: Boolean, reason: String, policy: EarlyTerminationPolicy)