resolve

open override fun resolve(subgraph: AIAgentSubgraph<*, *>): AIAgentNodeBase<Input, Input>(source)

Resolves the starting node of the given subgraph and casts it to the appropriate type.

Return

The starting node of the subgraph cast to AIAgentNodeBase.

Parameters

subgraph

The subgraph from which the starting node will be resolved.