Skip to content

ClarifyingPlanner

ClarifyingPlanner = Stage<PlanningInput, PlannerOutput>

Defined in: packages/engine/src/lib/planner/stage.ts:143

A Planner that may also answer with a ReplylessCandidate or a needs-clarification result: any PlannerOutput. Every Planner is a ClarifyingPlanner. Validation accepts a missing userMessage and a clarification only for a request that set skipReply: true, and Engine.handle currently refuses both even then with Err(ValidationError) on field skipReply.