javaApiInterceptLLMStreamingStarting
fun javaApiInterceptLLMStreamingStarting(feature: AIAgentFeature<*, *>, handle: Interceptor<LLMStreamingStartingContext>)(source)
Intercepts streaming operations before they begin to modify or log the streaming request.
JVM-friendly overload that accepts an async interceptor.
Example (Java): pipeline.interceptLLMStreamingStarting(feature, eventContext -> { // About to start streaming return java.util.concurrent.CompletableFuture.completedFuture(null); });