resolve

abstract fun resolve(subgraph: AIAgentSubgraph<*, *>): AIAgentNodeBase<Input, Output>(source)

Resolves the current node reference within the context of the provided AI agent subgraph.

Return

An instance of AIAgentNodeBase, representing the resolved node within the subgraph that corresponds to the current node reference.

Parameters

subgraph

An instance of AIAgentSubgraph, representing the structured subgraph within the AI agent workflow. It contains the logical segment of processing, including the starting and finishing nodes.