interceptStrategyStart

fun interceptStrategyStart(feature: AIAgentFeature<*, *>, handle: suspend (StrategyStartingContext) -> Unit)(source)

Deprecated

Please use interceptStrategyStarting instead. This method is deprecated and will be removed in the next release.

Replace with

import ai.koog.agents.core.feature.handler.strategy.StrategyStartingContext
interceptStrategyStarting(feature, handle)

Intercepts strategy started event to perform actions when an agent strategy begins execution.