executeUnsafe

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

Executes the node operation using the provided execution context and input, bypassing type safety checks. This method internally calls the type-safe execute method after casting the input. The lifecycle hooks onBeforeNode and onAfterNode are invoked before and after the execution respectively.

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.