mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 22:53:48 +00:00
Added a component for dynamic assistants (#911)
This commit is contained in:
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
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user