Table of Contents

Class NonePlanningHandler

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

Planning handler that performs no explicit planning.

Passes input directly to the model and returns output unchanged. Use this for simple Q&A or when the model handles reasoning internally.

public sealed class NonePlanningHandler : PlanningHandlerBase, IPlanningHandler
Inheritance
NonePlanningHandler
Implements
Inherited Members

Examples

Building a direct-answer agent (no multi-step planning):

using LMKit.Model;
using LMKit.Agents;
using LMKit.Agents.Planning;

using var model = LM.LoadFromModelID("qwen3:8b"); var agent = Agent.CreateBuilder(model) .WithPersona("FAQ") .WithPlanning(PlanningStrategy.None) // resolves to NonePlanningHandler.Instance .Build();

var result = await agent.RunAsync("What is the capital of France?");

Properties

Instance

Gets the singleton instance of the handler.

Strategy

Gets the planning strategy.

Methods

ProcessOutput(PlanningContext, string)

Processes the model output. Always returns complete with the output as the answer.

Share