interceptLLMCallFailedBlocking
fun interceptLLMCallFailedBlocking(feature: AIAgentFeature<*, *>, handle: Interceptor<LLMCallFailedContext>)(source)
Intercepts a failed call to the Language Learning Model (LLM) within a specific AI agent feature and delegates the handling of the failure context to the provided interceptor.
JVM-friendly overload that accepts an async interceptor.
Example (Java): pipeline.interceptLLMCallFailed(feature, eventContext -> { // Process failure return java.util.concurrent.CompletableFuture.completedFuture(null); });