AIAgentStuckInTheNodeException

Exception thrown when an agent becomes stuck in a specific node during the execution of the agent graph. This typically occurs when the output produced by the node does not match any conditions on the available edges, preventing further progress in the graph execution.

Parameters

node

The node in which the agent becomes stuck.

output

The output produced by the node that doesn't match any edge conditions.

Constructors

Link copied to clipboard
constructor(node: AIAgentNodeBase<*, *>, output: Any?)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?

Functions

Link copied to clipboard

Converts a Throwable instance to an AIAgentError.