Moved chat template options to a setting dialog (#476)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-05-25 10:33:13 +02:00
1 parent 9e207974e9
commit d2f85f31ea
10 files changed
+227 -182

No files matched your search

@@ -16,9 +16,11 @@
}
</ActivatorContent>
<ChildContent>
<MudMenuItem Icon="@Icons.Material.Filled.Settings" Label="@T("Manage your templates")" OnClick="async () => await this.OpenSettingsDialog()" />
<MudDivider/>
@foreach (var chatTemplate in this.SettingsManager.ConfigurationData.ChatTemplates.GetAllChatTemplates())
{
<MudMenuItem OnClick="() => this.SelectionChanged(chatTemplate)">
<MudMenuItem Icon="@Icons.Material.Filled.RateReview" OnClick="async () => await this.SelectionChanged(chatTemplate)">
@chatTemplate.Name
</MudMenuItem>
}