enforceExecutionPoint

abstract fun enforceExecutionPoint(node: AIAgentNodeBase<*, *>, input: Any? = null)(source)

Enforces execution to start at the specified node with the given input, overriding the default execution flow.

Parameters

node

The node at which execution should be forced to start.

input

The optional input data to provide to the forced node.

Throws

if an execution point has already been set and not yet reset.