onBeforeAgentStarted

fun onBeforeAgentStarted(handler: suspend (strategy: AIAgentStrategy, agent: AIAgent) -> Unit)(source)

Append handler called when an agent is started.


var onBeforeAgentStarted: suspend (strategy: AIAgentStrategy, agent: AIAgent) -> Unit(source)

Deprecated

Please use onBeforeAgentStarted() instead

Replace with

onBeforeAgentStarted(handler)