Property HasSkills
HasSkills
Gets a value indicating whether the agent has any skills registered.
public bool HasSkills { get; }
Property Value
Examples
Checking for skills:
using LMKit.Model;
using LMKit.Agents;
using var model = new LM("path/to/model.gguf");
var agent = new Agent(model);
Console.WriteLine(agent.Capabilities.HasSkills); // False
agent.EnsureSkills().LoadFromDirectory("./skills");
Console.WriteLine(agent.Capabilities.HasSkills); // True (if skills were found)