AI-Studio/app/MindWork AI Studio/Settings/DataModel/DataChat.cs

29 lines
881 B
C#
Raw Normal View History

2024-08-05 19:12:52 +00:00
namespace AIStudio.Settings.DataModel;
public sealed class DataChat
{
/// <summary>
/// Shortcuts to send the input to the AI.
/// </summary>
2024-08-23 08:49:30 +00:00
public SendBehavior ShortcutSendBehavior { get; set; } = SendBehavior.ENTER_IS_SENDING;
2024-08-05 19:12:52 +00:00
/// <summary>
/// Preselect any chat options?
/// </summary>
public bool PreselectOptions { get; set; }
/// <summary>
/// Should we preselect a provider for the chat?
/// </summary>
public string PreselectedProvider { get; set; } = string.Empty;
2024-09-08 19:01:51 +00:00
/// <summary>
/// Preselect a profile?
/// </summary>
public string PreselectedProfile { get; set; } = string.Empty;
/// <summary>
/// Should we show the latest message after loading? When false, we show the first (aka oldest) message.
/// </summary>
public bool ShowLatestMessageAfterLoading { get; set; } = true;
2024-08-05 19:12:52 +00:00
}