mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 15:32:56 +00:00
11 lines
716 B
Plaintext
11 lines
716 B
Plaintext
|
@inherits MSGComponentBase
|
||
|
<MudTooltip Text="@T("You can switch between your chat templates here")" Placement="Placement.Top">
|
||
|
<MudMenu TransformOrigin="@Origin.BottomLeft" AnchorOrigin="Origin.TopLeft" StartIcon="@Icons.Material.Filled.Person4" EndIcon="@Icons.Material.Filled.KeyboardArrowDown" Label="@this.CurrentChatTemplate.Name" Variant="Variant.Filled" Color="Color.Default" Class="@this.MarginClass">
|
||
|
@foreach (var chatTemplate in this.SettingsManager.ConfigurationData.ChatTemplates.GetAllChatTemplates())
|
||
|
{
|
||
|
<MudMenuItem OnClick="() => this.SelectionChanged(chatTemplate)">
|
||
|
@chatTemplate.Name
|
||
|
</MudMenuItem>
|
||
|
}
|
||
|
</MudMenu>
|
||
|
</MudTooltip>
|