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
interceptLLMCallCompleted(feature, handle)

Intercepts LLM calls after they are made to process or log the response.