Property HasInstruction
HasInstruction
Gets a value indicating whether this identity has a defined instruction.
public bool HasInstruction { get; }
Property Value
Examples
Checking for instruction:
using LMKit.Agents;
var withInstruction = new AgentIdentity("Helper", "Assist users.");
var withoutInstruction = new AgentIdentity("Helper");
Console.WriteLine(withInstruction.HasInstruction); // True
Console.WriteLine(withoutInstruction.HasInstruction); // False