interceptAfterLLMCall
fun interceptAfterLLMCall(feature: AIAgentFeature<*, *>, handle: suspend (eventContext: LLMCallCompletedContext) -> Unit)(source)
Deprecated
Please use interceptLLMCallCompleted instead. This method is deprecated and will be removed in the next release.
Replace with
import ai.koog.agents.core.feature.handler.llm.LLMCallCompletedContext
Content copied to clipboard
interceptLLMCallCompleted(feature, handle)
Content copied to clipboard
Intercepts LLM calls after they are made to process or log the response.