2026-02-23 14:01:00 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace AIStudio.Tools.PluginSystem.Assistants.DataModel;
|
|
|
|
|
|
|
|
|
|
|
|
public class AssistantProfileSelection : AssistantComponentBase
|
|
|
|
|
|
{
|
2026-02-24 10:39:17 +00:00
|
|
|
|
public override AssistantComponentType Type => AssistantComponentType.PROFILE_SELECTION;
|
2026-02-23 14:01:00 +00:00
|
|
|
|
public Dictionary<string, object> Props { get; set; } = new();
|
|
|
|
|
|
public List<IAssistantComponent> Children { get; set; } = new();
|
|
|
|
|
|
|
|
|
|
|
|
public string ValidationMessage
|
|
|
|
|
|
{
|
|
|
|
|
|
get => this.Props.TryGetValue(nameof(this.ValidationMessage), out var v)
|
|
|
|
|
|
? v.ToString() ?? string.Empty
|
|
|
|
|
|
: string.Empty;
|
|
|
|
|
|
set => this.Props[nameof(this.ValidationMessage)] = value;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|