Class Action.DoneAction

java.lang.Object
dev.langchain4j.agentic.planner.Action.DoneAction
All Implemented Interfaces:
Action
Enclosing interface:
Action

public static class Action.DoneAction extends Object implements Action
Signals that the planner has completed successfully with no explicit result. The execution loop reads the final output from the scope state.
  • Constructor Details

    • DoneAction

      public DoneAction()
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isDone

      public boolean isDone()
      Description copied from interface: Action
      Returns true if this action signals that the planner has finished (either completed or suspended) and the execution loop should exit.
      Specified by:
      isDone in interface Action
      Returns:
      true if the planner is done or suspended