executeUnsafe

suspend fun executeUnsafe(context: AIAgentGraphContextBase, input: Any?): Any?(source)

Executes the node operation using the provided execution context and input, bypassing static type checks. This method internally performs an unchecked cast of input to TInput and delegates to execute. The caller is responsible for ensuring that input is actually assignable to TInput; otherwise a ClassCastException may be thrown at the call site or later during execution.

Return

The result of the execution, which may be of any type depending on the implementation.

Parameters

context

The execution context that provides runtime information and functionality.

input

The input data to be processed by the node, which may be of any type.