onAfterNode

fun onAfterNode(handler: suspend (NodeAfterExecuteContext) -> Unit)(source)

Deprecated

Use onNodeExecutionCompleted instead

Replace with

import ai.koog.agents.core.feature.handler.NodeExecutionCompletedContext
onNodeExecutionCompleted(handler)

Append handler called after a node in the agent's execution graph has been processed.