resolve
Resolves a node within the given AI Agent subgraph by searching for a node that matches the current node's name. The method performs a depth-first traversal starting from the subgraph's start node.
Return
The resolved node that matches the current node's name of a type AIAgentNodeBase.
Parameters
subgraph
The AI Agent subgraph to traverse in search of the matching node.
Throws
If no node with the specified name is found within the subgraph.