Class AiServiceStreamingEvent.AfterToolExecutionEvent

java.lang.Object
dev.langchain4j.service.AiServiceStreamingEvent.AbstractEvent
dev.langchain4j.service.AiServiceStreamingEvent.AfterToolExecutionEvent
All Implemented Interfaces:
AiServiceStreamingEvent
Enclosing interface:
AiServiceStreamingEvent

public static final class AiServiceStreamingEvent.AfterToolExecutionEvent extends AiServiceStreamingEvent.AbstractEvent
Signals that a tool has finished executing, carrying its request and result. A tool that failed is reported here too, with toolExecution().hasFailed() == true. Corresponds to TokenStream.onToolExecuted(Consumer).
Since:
1.20.0