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