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
-
Nested Class Summary
Nested classes/interfaces inherited from interface AiServiceStreamingEvent
AiServiceStreamingEvent.AbstractEvent, AiServiceStreamingEvent.AfterToolExecutionEvent, AiServiceStreamingEvent.BeforeToolExecutionEvent, AiServiceStreamingEvent.CompleteToolCallEvent, AiServiceStreamingEvent.FinalResponseEvent, AiServiceStreamingEvent.IntermediateResponseEvent, AiServiceStreamingEvent.PartialResponseEvent, AiServiceStreamingEvent.PartialThinkingEvent, AiServiceStreamingEvent.PartialToolCallEvent, AiServiceStreamingEvent.RawEvent, AiServiceStreamingEvent.RetrievedContentsEvent, AiServiceStreamingEvent.ToolCompensatedEvent -
Constructor Summary
ConstructorsConstructorDescriptionAfterToolExecutionEvent(ToolExecution toolExecution, InvocationContext invocationContext) -
Method Summary
Methods inherited from class AiServiceStreamingEvent.AbstractEvent
invocationContext
-
Constructor Details
-
AfterToolExecutionEvent
-
-
Method Details
-
toolExecution
-