mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 07:53:48 +00:00
Moved the background agents to AI operations (#1215)
This commit is contained in:
1 parent
8a4a26503b
commit
c50a93cd17
139 files changed
+4069
-2340
No files matched your search
@@ -1,5 +1,7 @@
|
||||
using System.Linq.Expressions;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.Provider;
|
||||
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
@@ -26,10 +28,18 @@ public sealed class DataAssistantPluginAudit(Expression<Func<Data, DataAssistant
|
||||
/// </summary>
|
||||
public string PreselectedAgentProvider { get; set; } = ManagedConfiguration.Register(configSelection, n => n.PreselectedAgentProvider, string.Empty);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum confidence level of the provider which audits the plugins.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// It applies to every provider which audits a plugin, the fallbacks included.
|
||||
/// </remarks>
|
||||
public ConfidenceLevel MinimumProviderConfidence { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumProviderConfidence, ConfidenceLevel.NONE);
|
||||
|
||||
/// <summary>
|
||||
/// The minimum audit level assistant plugins should meet.
|
||||
/// </summary>
|
||||
public AssistantAuditLevel MinimumLevel { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumLevel, AssistantAuditLevel.CAUTION);
|
||||
public PluginAuditLevel MinimumLevel { get; set; } = ManagedConfiguration.Register(configSelection, n => n.MinimumLevel, PluginAuditLevel.CAUTION);
|
||||
|
||||
/// <summary>
|
||||
/// Should activation be blocked when the audit result is below the minimum level?
|
||||
|
||||
Reference in new issue
Block a user