using BotSharp.Abstraction.Functions.Models; using BotSharp.Abstraction.Planning; namespace BotSharp.Abstraction.Routing; /// /// The routing handler will be injected to Router's FUNCTIONS section of the system prompt /// So the handler will be invoked by LLM autonomously. /// public interface IRoutingHandler { string Name { get; } string Description { get; } List Planers => null; bool Enabled => true; List Parameters => new List(); void SetRouter(Agent router) { } void SetDialogs(List dialogs) { } Task Handle(IRoutingService routing, FunctionCallFromLlm inst, RoleDialogModel message); }