mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-18 06:18:00 +00:00
Read Web Page is now opened automatically when the confluence tool is selected
This commit is contained in:
1 parent
5c867a9b23
commit
243dc34a34
8 files changed
+35
-6
No files matched your search
@@ -348,12 +348,12 @@ public sealed class AssistantAuditAgent(ILogger<AssistantAuditAgent> logger, ILo
|
||||
/// </remarks>
|
||||
private string FormatRequestedTools(PluginAssistants plugin)
|
||||
{
|
||||
var toolIds = plugin.AssistantToolIds ?? plugin.ChatLaunchConfiguration?.ToolIds ?? [];
|
||||
var toolIds = ToolSelectionRules.NormalizeSelection(plugin.AssistantToolIds ?? plugin.ChatLaunchConfiguration?.ToolIds ?? []);
|
||||
if (toolIds.Count == 0)
|
||||
return "None. This plugin does not request any tools.";
|
||||
|
||||
var builder = new StringBuilder();
|
||||
foreach (var toolId in toolIds)
|
||||
foreach (var toolId in toolIds.OrderBy(x => x, StringComparer.Ordinal))
|
||||
{
|
||||
var definition = toolRegistry.GetDefinition(toolId);
|
||||
if (definition is null)
|
||||
|
||||
Reference in new issue
Block a user