onBeforeNode

fun onBeforeNode(handler: suspend (NodeBeforeExecuteContext) -> Unit)(source)

Deprecated

Use onNodeExecutionStarting instead

Replace with

import ai.koog.agents.core.feature.handler.NodeExecutionStartingContext
onNodeExecutionStarting(handler)

Append handler called before a node in the agent's execution graph is processed.