mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-04 19:04:35 +00:00
Kept the inputs of assistants when you leave them (#1209)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
1fbc1f4796
commit
7e2f83b19b
83 files changed
+1924
-347
No files matched your search
@@ -11,6 +11,7 @@
|
||||
<DialogContent>
|
||||
<ConfigurationSelect OptionDescription="@TA("What should happen to assistants of categories you collapsed?")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantsPage.CollapsedCategoryAssistants)" Data="@ConfigurationSelectDataFactory.GetAssistantOfferBehaviorData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantsPage.CollapsedCategoryAssistants = selectedValue)" OptionHelp="@this.CollapsedCategoriesHelp" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantsPage, x => x.CollapsedCategoryAssistants, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSelect OptionDescription="@TA("What should happen to assistants of categories you hid?")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantsPage.HiddenCategoryAssistants)" Data="@ConfigurationSelectDataFactory.GetAssistantOfferBehaviorData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantsPage.HiddenCategoryAssistants = selectedValue)" OptionHelp="@this.HiddenCategoriesHelp" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantsPage, x => x.HiddenCategoryAssistants, out var meta) && meta.IsLocked"/>
|
||||
<ConfigurationSelect OptionDescription="@TA("What should happen to your inputs when you leave an assistant?")" SelectedValue="@(() => this.SettingsManager.ConfigurationData.AssistantsPage.InputsWhenLeaving)" Data="@ConfigurationSelectDataFactory.GetAssistantInputsWhenLeavingData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.AssistantsPage.InputsWhenLeaving = selectedValue)" OptionHelp="@this.InputsWhenLeavingHelp" IsLocked="() => ManagedConfiguration.TryGet(x => x.AssistantsPage, x => x.InputsWhenLeaving, out var meta) && meta.IsLocked"/>
|
||||
|
||||
<MudText Typo="Typo.h6" Class="mt-6 mb-2">
|
||||
@T("Categories")
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace AIStudio.Dialogs.Settings;
|
||||
|
||||
/// <summary>
|
||||
/// The settings of the assistants page: what happens to the assistants of collapsed and hidden categories,
|
||||
/// and which categories the page shows.
|
||||
/// whether assistants keep your inputs when you leave them, and which categories the page shows.
|
||||
/// </summary>
|
||||
public partial class SettingsDialogAssistantsPage : SettingsDialogBase
|
||||
{
|
||||
@@ -23,4 +23,6 @@ public partial class SettingsDialogAssistantsPage : SettingsDialogBase
|
||||
private string CollapsedCategoriesHelp => TA("""Collapsing a category keeps the assistants page tidy. Choose whether AI Studio keeps offering its assistants elsewhere, e.g., in the "Send to ..." menu.""");
|
||||
|
||||
private string HiddenCategoriesHelp => TA("""Hiding a category says that you do not need its assistants. Choose whether AI Studio still offers them elsewhere, e.g., in the "Send to ..." menu.""");
|
||||
|
||||
private string InputsWhenLeavingHelp => TA("When you switch to the chat or to another assistant and come back, an assistant can still show your inputs, your options, and its last result. AI Studio keeps them in memory only, never on disk, until you reset the assistant or quit AI Studio. A text which you send to the assistant from elsewhere replaces them. An assistant which is still working keeps working in the background either way.");
|
||||
}
|
||||
Reference in new issue
Block a user