Table of Contents

Method PrepareInput

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

PrepareInput(PlanningContext, string)

Prepares the input by adding ReAct reasoning format instructions.

Note: Tool calling format is NOT included here - it's handled by the native tool-calling system in MultiTurnConversation.

public override string PrepareInput(PlanningContext context, string userInput)

Parameters

context PlanningContext

The planning context.

userInput string

The original user input.

Returns

string

The formatted ReAct prompt.