runNode

open override fun runNode(context: Context, nodeInput: Any?): Flow<Any?>

Runs this agent as a graph node in its AgentMode: a single turn on the node input, a chat that runs its task sub-agents, or a task that ends with finish_task.