Class FunctionProcessingResult

java.lang.Object
uno.anahata.ai.tools.FunctionProcessingResult

public class FunctionProcessingResult extends Object
Summarizes the outcome of the entire user interaction and execution phase for a given turn where tool calls were proposed.

It contains the list of successfully executed calls, the definitive outcomes for all proposed calls, and any feedback provided by the user.

Author:
anahata
  • Field Details

    • executedCalls

      public final List<ExecutedToolCall> executedCalls
      A list of all tool calls that were approved and successfully executed during this turn.
    • outcomes

      public final List<ToolCallOutcome> outcomes
      A definitive list of outcomes for every tool call proposed by the model in this turn, including those that were denied or cancelled.
    • userComment

      public final String userComment
      Any text the user entered in the comment box of the confirmation dialog.
  • Constructor Details

    • FunctionProcessingResult

      public FunctionProcessingResult()