onBeforeLLMCall

fun onBeforeLLMCall(handler: suspend (BeforeLLMCallContext) -> Unit)(source)

Deprecated

Use onLLMCallStarting instead

Replace with

import ai.koog.agents.core.feature.handler.LLMCallStartingContext
onLLMCallStarting(handler)

Append handler called before a call is made to the language model.