Property IsEmpty
IsEmpty
Gets a value indicating whether the agent has any capabilities configured.
public bool IsEmpty { get; }
Property Value
Examples
Checking if capabilities are empty:
using LMKit.Model;
using LMKit.Agents;
using var model = new LM("path/to/model.gguf");
var agent = new Agent(model);
Console.WriteLine(agent.Capabilities.IsEmpty); // True
agent.EnsureTools().Register(new MyTool());
Console.WriteLine(agent.Capabilities.IsEmpty); // False
Remarks
Returns true if all capability registries are empty or null.