mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-21 02:55:49 +00:00
Improved the assistants page with categories for assistant plugins (#1211)
This commit is contained in:
1 parent
ef059ffd15
commit
1db0f85898
74 files changed
+3392
-380
No files matched your search
@@ -0,0 +1,23 @@
|
||||
@using AIStudio.Dialogs.Settings
|
||||
@inherits MSGComponentBase
|
||||
|
||||
<AssistantBlock TSettings="NoSettingsPanel"
|
||||
Component="Components.DYNAMIC_ASSISTANT"
|
||||
Name="@this.Plugin.AssistantTitle"
|
||||
Description="@this.Plugin.Description"
|
||||
Icon="@AppIcons.ASSISTANT_PLUGIN"
|
||||
Disabled="@(!this.SecurityState.CanStartAssistant)"
|
||||
AssistantSessionInstanceId="@this.Plugin.Id.ToString()"
|
||||
Link="@this.LaunchLink"
|
||||
OnClick="@this.StartAsync">
|
||||
<AdditionalActions>
|
||||
<DirectChatLauncherSettingsAction Plugin="@this.Plugin" />
|
||||
@if (this.AvailablePlugin is not null)
|
||||
{
|
||||
<PluginDeleteAction Plugin="@this.AvailablePlugin" />
|
||||
}
|
||||
</AdditionalActions>
|
||||
<SecurityBadge>
|
||||
<AssistantPluginSecurityCard Plugin="@this.Plugin" Compact="@true" />
|
||||
</SecurityBadge>
|
||||
</AssistantBlock>
|
||||
Reference in new issue
Block a user