AbstractAbstractbuildBuilds the system instruction to be appended to the LLM request for planning.
The readonly context of the invocation
The LLM request. Readonly.
The planning system instruction, or undefined if no instruction is needed
AbstractprocessProcesses the LLM response for planning.
The callback context of the invocation
The LLM response parts. Readonly.
The processed response parts, or undefined if no processing is needed
Abstract base class for all planners.
The planner allows the agent to generate plans for the queries to guide its action.