Renamed the settings of AI tasks (#1239)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 12:08:00 +01:00
1 parent d19d3d431b
commit a117074972
109 files changed
+3929 -538

No files matched your search

@@ -0,0 +1,45 @@
using AIStudio.AIOperations.PluginAudit;
using AIStudio.Provider;
namespace AIStudio.Settings.DataModel.PreviousModels;
/// <summary>
/// The settings for auditing assistant plugins, as settings files up to version V6 store them.
/// </summary>
public sealed class DataAssistantPluginAuditV6
{
/// <summary>
/// Should assistant plugins be audited before they can be activated?
/// </summary>
public bool RequireAuditBeforeActivation { get; set; } = true;
/// <summary>
/// Which provider should be used for the assistant plugin audit?
/// </summary>
public string PreselectedAgentProvider { get; set; } = string.Empty;
/// <summary>
/// The minimum confidence level of the provider which audits the plugins.
/// </summary>
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ConfidenceLevel.NONE;
/// <summary>
/// The minimum audit level assistant plugins should meet.
/// </summary>
public PluginAuditLevel MinimumLevel { get; set; } = PluginAuditLevel.CAUTION;
/// <summary>
/// Should activation be blocked when the audit result is below the minimum level?
/// </summary>
public bool BlockActivationBelowMinimum { get; set; } = true;
/// <summary>
/// If true, the security audit will be hidden from the user and done in the background.
/// </summary>
public bool AutomaticallyAuditAssistants { get; set; }
/// <summary>
/// Enterprise-managed assistant plugin hashes that are approved without requiring a user audit.
/// </summary>
public IList<DataAssistantPluginEnterpriseApproval> EnterpriseApprovedPlugins { get; set; } = [];
}