Table of Contents

Method ProcessOutput

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

ProcessOutput(PlanningContext, string)

Processes the model's response and determines next steps.

Called after each model completion. The handler can extract reasoning, decide if more iterations are needed, or finalize the result.

PlanningStepResult ProcessOutput(PlanningContext context, string modelOutput)

Parameters

context PlanningContext

The current planning context.

modelOutput string

The raw output from the model.

Returns

PlanningStepResult

A result indicating the planning state and any extracted content.