mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-13 07:41:36 +00:00
This change enables enterprise IT departments to hide specific assistants
via configuration plugins, providing better control over which features
are available to end users.
Changes:
- Created ConfigurableAssistant enum listing all hideable assistants
- Added HiddenAssistants property to DataApp settings (HashSet<ConfigurableAssistant>)
- Added IsAssistantVisible() method in Assistants.razor.cs to check visibility
- Updated Assistants.razor to conditionally render assistants based on configuration
- Extended plugin.lua template with HiddenAssistants configuration example
Example usage in configuration plugin:
CONFIG["SETTINGS"]["DataApp.HiddenAssistants"] = { "GRAMMAR_SPELLING_ASSISTANT", "SYNONYMS_ASSISTANT" }
The setting integrates with the existing ManagedConfiguration system and
is locked when managed by a config plugin, preventing user override.
|
||
|---|---|---|
| .. | ||
| DataModel | ||
| ChatTemplate.cs | ||
| ConfigMeta.cs | ||
| ConfigMetaBase.cs | ||
| ConfigurableAssistant.cs | ||
| ConfigurationSelectDataFactory.cs | ||
| EmbeddingProvider.cs | ||
| IConfig.cs | ||
| IDataSource.cs | ||
| IERIDataSource.cs | ||
| IExternalDataSource.cs | ||
| IInternalDataSource.cs | ||
| ManagedConfiguration.cs | ||
| ManagedConfiguration.Parsing.cs | ||
| ManagedConfiguration.Register.cs | ||
| NoConfig.cs | ||
| Profile.cs | ||
| Provider.cs | ||
| ProviderExtensions.Alibaba.cs | ||
| ProviderExtensions.Anthropic.cs | ||
| ProviderExtensions.cs | ||
| ProviderExtensions.DeepSeek.cs | ||
| ProviderExtensions.Google.cs | ||
| ProviderExtensions.Mistral.cs | ||
| ProviderExtensions.OpenAI.cs | ||
| ProviderExtensions.OpenRouter.cs | ||
| ProviderExtensions.OpenSource.cs | ||
| ProviderExtensions.Perplexity.cs | ||
| SettingsManager.cs | ||
| SettingsMigrations.cs | ||
| TolerantEnumConverter.cs | ||
| TranscriptionProvider.cs | ||
| Version.cs | ||