using BotSharp.Abstraction.Functions.Models; using BotSharp.Abstraction.Models; 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; } bool IsReasoning { get => false; } bool Enabled { get => true; } List Parameters { get => new List(); } void SetRouter(Agent router) { } void SetDialogs(List dialogs) { } Task Handle(IRoutingService routing, FunctionCallFromLlm inst); }