Companion

object Companion

Properties

Link copied to clipboard

Policy that terminates the process if it becomes stuck. This can be useful with utility planning, when we might want an AgentProcess to terminate without error if it cannot make progress.

Functions

Link copied to clipboard
fun firstOf(vararg earlyTerminationPolicies: EarlyTerminationPolicy): EarlyTerminationPolicy

Combines multiple early termination policies into one. The process will terminate if any of the provided policies triggers termination. Policies are evaluated in the order they are provided.

Link copied to clipboard

Fallback budget limit for the agent process. This is a last resort termination policy to prevent runaway costs.

Link copied to clipboard

Creates a policy that terminates the process after a maximum number of actions.

Link copied to clipboard