Companion

object Companion

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