2024-12-04 12:49:31 +00:00
|
|
|
using AIStudio.Provider;
|
|
|
|
|
|
|
|
namespace AIStudio.Settings.DataModel;
|
|
|
|
|
2024-12-14 18:48:47 +00:00
|
|
|
public sealed class DataERI
|
2024-12-04 12:49:31 +00:00
|
|
|
{
|
2024-12-19 10:51:38 +00:00
|
|
|
/// <summary>
|
|
|
|
/// Should we automatically save any input made in the ERI assistant?
|
|
|
|
/// </summary>
|
|
|
|
public bool AutoSaveChanges { get; set; } = true;
|
|
|
|
|
2024-12-04 12:49:31 +00:00
|
|
|
/// <summary>
|
2024-12-14 18:48:47 +00:00
|
|
|
/// Preselect any ERI options?
|
2024-12-04 12:49:31 +00:00
|
|
|
/// </summary>
|
2024-12-19 10:51:38 +00:00
|
|
|
public bool PreselectOptions { get; set; } = true;
|
2024-12-09 18:25:22 +00:00
|
|
|
|
2024-12-09 19:11:37 +00:00
|
|
|
/// <summary>
|
2024-12-28 13:35:11 +00:00
|
|
|
/// Data for the ERI servers.
|
2024-12-08 19:41:05 +00:00
|
|
|
/// </summary>
|
2024-12-28 13:35:11 +00:00
|
|
|
public List<DataERIServer> ERIServers { get; set; } = new();
|
2024-12-04 20:22:39 +00:00
|
|
|
|
2024-12-04 12:49:31 +00:00
|
|
|
/// <summary>
|
|
|
|
/// The minimum confidence level required for a provider to be considered.
|
|
|
|
/// </summary>
|
|
|
|
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Which coding provider should be preselected?
|
|
|
|
/// </summary>
|
|
|
|
public string PreselectedProvider { get; set; } = string.Empty;
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Preselect a profile?
|
|
|
|
/// </summary>
|
|
|
|
public string PreselectedProfile { get; set; } = string.Empty;
|
|
|
|
}
|