Read Web Page is now opened automatically when the confluence tool is selected

This commit is contained in:
Peer Hogeterp committed 2026-09-23 11:32:25 +02:00
1 parent 5c867a9b23
commit 243dc34a34
8 files changed
+35 -6

No files matched your search

@@ -1,6 +1,7 @@
using System.Globalization;
using AIStudio.Dialogs;
using AIStudio.Tools.PluginSystem.Assistants;
using AIStudio.Tools.ToolCallingSystem;
using Microsoft.AspNetCore.Components;
using DialogOptions = AIStudio.Dialogs.DialogOptions;
@@ -30,7 +31,9 @@ public partial class AssistantPluginSecurityCard : MSGComponentBase
/// should see that beforehand, which is why the count sits in the header next to the audit
/// level and the tools themselves are named in the details.
/// </remarks>
private IReadOnlyList<string> PluginToolIds => this.Plugin?.AssistantToolIds ?? this.Plugin?.ChatLaunchConfiguration?.ToolIds ?? [];
private IReadOnlyList<string> PluginToolIds => ToolSelectionRules.NormalizeSelection(this.Plugin?.AssistantToolIds ?? this.Plugin?.ChatLaunchConfiguration?.ToolIds ?? [])
.OrderBy(x => x, StringComparer.Ordinal)
.ToList();
private CultureInfo currentCultureInfo = CultureInfo.InvariantCulture;
private bool showSecurityCard;