Table of Contents

Property HasSkills

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

HasSkills

Gets a value indicating whether the agent has any skills registered.

public bool HasSkills { get; }

Property Value

bool

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)