interceptBeforeLLMCall
fun <TFeature : Any> interceptBeforeLLMCall(interceptContext: InterceptContext<TFeature>, handle: suspend TFeature.(eventContext: LLMCallStartingContext) -> Unit)(source)
Deprecated
Please use interceptLLMCallStarting instead. This method is deprecated and will be removed in the next release.
Replace with
import ai.koog.agents.core.feature.handler.llm.LLMCallStartingContext
Content copied to clipboard
interceptLLMCallStarting(interceptContext, handle)
Content copied to clipboard
Intercepts LLM calls before they are made (deprecated name).