doNothing

fun <T : Any> doNothing(clazz: ERROR CLASS: Symbol not found for Class<T>, name: String? = null): AIAgentNode<T, T>(source)

A utility method that performs no modifications or operations on its input and simply returns it as output. Useful as a pass-through or identity transformation.

Return

an instance of AIAgentNodeBase configured to return the input of type T as the output without modification.

Parameters

clazz

the Class instance representing the type of the input and output.

name

an optional name for the node. If null, a default name is used.