Uses of Class
dev.langchain4j.service.AiServiceStreamingEvent.ToolCompensatedEvent
Packages that use AiServiceStreamingEvent.ToolCompensatedEvent
-
Uses of AiServiceStreamingEvent.ToolCompensatedEvent in dev.langchain4j.service.tool
Method parameters in dev.langchain4j.service.tool with type arguments of type AiServiceStreamingEvent.ToolCompensatedEventModifier and TypeMethodDescriptionToolService.compensateIfNeededAsync(List<ToolExecutionRequest> toolExecutionRequests, Map<ToolExecutionRequest, ToolExecutionResult> toolResults, List<ToolExecutionResultMessage> resultMessages, List<ToolService.CompensableToolExecution> compensableExecutions, boolean anyToolErrored, @Nullable ChatMemory chatMemory, @Nullable List<ChatMessage> messages, InvocationContext invocationContext, AiServiceListenerRegistrar listenerRegistrar, @Nullable Consumer<AiServiceStreamingEvent.ToolCompensatedEvent> streamEventEmitter, boolean alreadyCollected, @Nullable String preCollectedFailedToolName, @Nullable Throwable invocationError) Non-blocking counterpart ofToolService.compensateIfNeeded(List, Map, List, List, boolean, ChatMemory, List, InvocationContext, AiServiceListenerRegistrar), used by theCompletableFutureand reactive modes.