Added settings for chat compression, with a model of its own (#1241)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-27 16:35:51 +01:00
1 parent 899139c88b
commit 1fbc1f4796
71 files changed
+3023 -797

No files matched your search

@@ -2,6 +2,9 @@
@inherits MSGComponentBase
<MudDialog DefaultFocus="DefaultFocus.FirstChild">
<TitleContent>
<DialogTitleWithChatCompressionSettings Title="@(this.MudDialog.Title ?? string.Empty)" Disabled="@this.isSummarizing" SettingsClosed="@this.ApplyChangedSettings"/>
</TitleContent>
<DialogContent>
<MudStack Spacing="3">
<MudJustifiedText Typo="Typo.body1">
@@ -19,6 +22,24 @@
@this.SummaryScope
</MudJustifiedText>
@if (this.StartsAutomatically)
{
<MudAlert Severity="Severity.Info" Dense="true">
<MudJustifiedText Typo="Typo.body2">
@TA("As chosen in the settings, AI Studio compresses a chat without asking once it grows too long. You can still cancel it here.")
</MudJustifiedText>
</MudAlert>
}
@if (!string.IsNullOrWhiteSpace(this.FallbackNotice))
{
<MudAlert Severity="Severity.Info" Dense="true">
<MudJustifiedText Typo="Typo.body2">
@this.FallbackNotice
</MudJustifiedText>
</MudAlert>
}
@if (this.Plan.PendingQuestion is not null)
{
<MudAlert Severity="Severity.Info" Dense="true">