Added a component for dynamic assistants (#911)

This commit is contained in:
nilskruthoff authored and GitHub committed 2026-08-25 14:53:38 +02:00
1 parent e78a0e61b9
commit 415ed35422
5 files changed
+28 -12

No files matched your search

@@ -41,6 +41,12 @@ public static class AssistantVisibilityExtensions
return true;
}
// Dynamic assistants are controlled through plugin activation and their security state.
// The Assistant Builder is controlled through its preview feature. Neither belongs to the
// built-in assistant visibility list, so both are expected to be visible at this point.
if (component is Components.DYNAMIC_ASSISTANT or Components.META_ASSISTANT)
return true;
// Map Components enum to ConfigurableAssistant enum:
var configurableAssistant = component switch
{