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

@@ -0,0 +1,21 @@
using AIStudio.Settings;
using Microsoft.AspNetCore.Components;
namespace AIStudio.Components.Settings;
/// <summary>
/// The settings of compressing a chat, and of what happens when a chat fills the context window of its model.
/// </summary>
/// <remarks>
/// Shown in the panel of the settings page and in the dialog which the dialogs of compressing open, see
/// SettingsPanelAITaskChatCompression and SettingsDialogChatCompression, so that both show the same.
/// </remarks>
public partial class ChatCompressionSettings : MSGComponentBase
{
/// <summary>
/// The providers to choose from for writing the summary.
/// </summary>
[Parameter]
public IReadOnlyList<ConfigurationSelectData<string>> AvailableLLMProviders { get; set; } = [];
}