mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 16:59:47 +00:00
Added regions to structure the settings
This commit is contained in:
parent
54d49d9af8
commit
4ae43659bc
@ -23,16 +23,13 @@ public sealed class Data
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public uint NextProviderNum { get; set; } = 1;
|
public uint NextProviderNum { get; set; } = 1;
|
||||||
|
|
||||||
|
#region App Settings
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Should we save energy? When true, we will update content streamed
|
/// Should we save energy? When true, we will update content streamed
|
||||||
/// from the server, i.e., AI, less frequently.
|
/// from the server, i.e., AI, less frequently.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool IsSavingEnergy { get; set; }
|
public bool IsSavingEnergy { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Shortcuts to send the input to the AI.
|
|
||||||
/// </summary>
|
|
||||||
public SendBehavior ShortcutSendBehavior { get; set; } = SendBehavior.MODIFER_ENTER_IS_SENDING;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Should we enable spellchecking for all input fields?
|
/// Should we enable spellchecking for all input fields?
|
||||||
@ -44,6 +41,24 @@ public sealed class Data
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public UpdateBehavior UpdateBehavior { get; set; } = UpdateBehavior.ONCE_STARTUP;
|
public UpdateBehavior UpdateBehavior { get; set; } = UpdateBehavior.ONCE_STARTUP;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// The navigation behavior.
|
||||||
|
/// </summary>
|
||||||
|
public NavBehavior NavigationBehavior { get; set; } = NavBehavior.EXPAND_ON_HOVER;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Chat Settings
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Shortcuts to send the input to the AI.
|
||||||
|
/// </summary>
|
||||||
|
public SendBehavior ShortcutSendBehavior { get; set; } = SendBehavior.MODIFER_ENTER_IS_SENDING;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region Workspace Settings
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// The chat storage behavior.
|
/// The chat storage behavior.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -54,11 +69,10 @@ public sealed class Data
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public WorkspaceStorageTemporaryMaintenancePolicy WorkspaceStorageTemporaryMaintenancePolicy { get; set; } = WorkspaceStorageTemporaryMaintenancePolicy.DELETE_OLDER_THAN_90_DAYS;
|
public WorkspaceStorageTemporaryMaintenancePolicy WorkspaceStorageTemporaryMaintenancePolicy { get; set; } = WorkspaceStorageTemporaryMaintenancePolicy.DELETE_OLDER_THAN_90_DAYS;
|
||||||
|
|
||||||
/// <summary>
|
#endregion
|
||||||
/// The navigation behavior.
|
|
||||||
/// </summary>
|
|
||||||
public NavBehavior NavigationBehavior { get; set; } = NavBehavior.EXPAND_ON_HOVER;
|
|
||||||
|
|
||||||
|
#region Assiatant: Icon Finder Settings
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Do we want to preselect an icon source?
|
/// Do we want to preselect an icon source?
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -73,4 +87,6 @@ public sealed class Data
|
|||||||
/// The preselected icon provider.
|
/// The preselected icon provider.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string PreselectedIconProvider { get; set; } = string.Empty;
|
public string PreselectedIconProvider { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
#endregion
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user