Table of Contents

Method PrepareNextInput

Namespace
LMKit.Agents.Planning
Assembly
LM-Kit.NET.dll

PrepareNextInput(PlanningContext)

Prepares the next input when the planning loop continues.

Called when ProcessOutput(PlanningContext, string) returns Continue. The handler should prepare the next prompt based on observations or reflections.

string PrepareNextInput(PlanningContext context)

Parameters

context PlanningContext

The current planning context.

Returns

string

The input for the next iteration, or null to use the default continuation.