onNodeExecutionError

abstract fun onNodeExecutionError(handler: suspend (NodeExecutionErrorContext) -> Unit)(source)

Deprecated

Use onNodeExecutionError instead

Replace with

import ai.koog.agents.core.feature.handler.NodeExecutionFailedContext
onNodeExecutionFailed(handler)

Append handler called when an error occurs during the execution of a node.