mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-03 23:52:01 +00:00
Added settings for chat compression, with a model of its own (#1241)
This commit is contained in:
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">
|
||||
|
||||
Reference in new issue
Block a user