Method ProcessOutput
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
contextPlanningContextThe current planning context.
modelOutputstringThe raw output from the model.
Returns
- PlanningStepResult
A result indicating the planning state and any extracted content.