Add Outlook mail tool

This commit is contained in:
Peer Hogeterp committed 2026-09-23 13:53:29 +02:00
1 parent c4ba83f0be
commit ac825a2207
21 files changed
+631 -21

No files matched your search

@@ -1,4 +1,5 @@
using AIStudio.Provider;
using AIStudio.Settings;
using AIStudio.Tools.ToolCallingSystem;
using Microsoft.AspNetCore.Components;
@@ -84,7 +85,8 @@ public partial class ManagedToolsWarning : MSGComponentBase
return this.availableTools
.Where(x => this.ToolIds.Contains(x.Definition.Id) && x.IsActive)
.Where(x => !ToolSelectionRules.IsProviderConfidenceAllowed(providerConfidence, x.MinimumProviderConfidence))
.Where(x => !ToolSelectionRules.IsProviderAllowedForTool(x.Definition.Id, providerConfidence, x.MinimumProviderConfidence,
this.ProviderSettings.IsTrustedByConfiguration(this.SettingsManager)))
.Select(x => x.Implementation.GetDisplayName())
.ToList();
}
@@ -108,4 +110,4 @@ public partial class ManagedToolsWarning : MSGComponentBase
break;
}
}
}
}