ExecutionPointNode

Represents a node in the execution graph of an AI agent that can explicitly enforce execution at a specified node with optional input data. This interface provides the ability to define a forced node and input, overriding default execution behavior.

Inheritors

Functions

Link copied to clipboard
abstract fun enforceExecutionPoint(node: AIAgentNodeBase<*, *>, input: Any? = null)

Sets a forced node for the entity.

Link copied to clipboard

Retrieves the current execution point, which consists of a specific node in the execution graph and an optional input. If no forced node is defined, the method returns null.

Link copied to clipboard
abstract fun resetExecutionPoint()

Resets the currently enforced execution point for the AI agent, including clearing any forced node and input data. Once the execution point is reset, the system will revert to its default execution behavior without targeting a specific node explicitly.