Property CanDelegate
CanDelegate
Gets a value indicating whether this agent can delegate to other agents.
public bool CanDelegate { get; }
Property Value
Examples
Checking delegation capability:
using LMKit.Model;
using LMKit.Agents;
using var model = new LM("path/to/model.gguf");
var coordinator = new Agent(model);
Console.WriteLine(coordinator.CanDelegate); // False
coordinator.Delegates = new AgentRegistry();
coordinator.Delegates.Register("helper", new Agent(model));
Console.WriteLine(coordinator.CanDelegate); // True