onBeforeAgentStarted

fun onBeforeAgentStarted(handler: suspend (AgentStartContext<*>) -> Unit)(source)

Deprecated

Use onAgentStarting instead

Replace with

import ai.koog.agents.core.feature.handler.AgentStartingContext
onAgentStarting(handler)

Append handler called when an agent is started.