mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-06-27 14:36:27 +00:00
# Conflicts: # app/MindWork AI Studio/Assistants/AssistantBase.razor.cs # app/MindWork AI Studio/Assistants/I18N/allTexts.lua # app/MindWork AI Studio/Components/ChatComponent.razor.cs # app/MindWork AI Studio/Plugins/configuration/plugin.lua # app/MindWork AI Studio/Plugins/languages/de-de-43065dbc-78d0-45b7-92be-f14c2926e2dc/plugin.lua # app/MindWork AI Studio/Plugins/languages/en-us-97dfb1ba-50c4-4440-8dfa-6575daf543c8/plugin.lua # app/MindWork AI Studio/Provider/AlibabaCloud/ProviderAlibabaCloud.cs # app/MindWork AI Studio/Provider/BaseProvider.cs # app/MindWork AI Studio/Provider/DeepSeek/ProviderDeepSeek.cs # app/MindWork AI Studio/Provider/Fireworks/ProviderFireworks.cs # app/MindWork AI Studio/Provider/GWDG/ProviderGWDG.cs # app/MindWork AI Studio/Provider/Google/ProviderGoogle.cs # app/MindWork AI Studio/Provider/Groq/ProviderGroq.cs # app/MindWork AI Studio/Provider/Helmholtz/ProviderHelmholtz.cs # app/MindWork AI Studio/Provider/HuggingFace/ProviderHuggingFace.cs # app/MindWork AI Studio/Provider/Mistral/ProviderMistral.cs # app/MindWork AI Studio/Provider/OpenAI/ProviderOpenAI.cs # app/MindWork AI Studio/Provider/OpenAI/ResponsesAPIRequest.cs # app/MindWork AI Studio/Provider/OpenRouter/ProviderOpenRouter.cs # app/MindWork AI Studio/Provider/Perplexity/ProviderPerplexity.cs # app/MindWork AI Studio/Provider/SelfHosted/ProviderSelfHosted.cs # app/MindWork AI Studio/Provider/X/ProviderX.cs # app/MindWork AI Studio/Settings/DataModel/Data.cs # app/MindWork AI Studio/Tools/PluginSystem/PluginConfiguration.cs # app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.Loading.cs # app/MindWork AI Studio/wwwroot/changelog/v26.4.1.md
31 lines
3.6 KiB
Plaintext
31 lines
3.6 KiB
Plaintext
@using AIStudio.Settings
|
|
@inherits SettingsDialogBase
|
|
|
|
<MudDialog>
|
|
<TitleContent>
|
|
<MudText Typo="Typo.h6" Class="d-flex align-center">
|
|
<MudIcon Icon="@Icons.Material.Filled.Task" Class="mr-2" />
|
|
@T("Assistant: My Tasks Options")
|
|
</MudText>
|
|
</TitleContent>
|
|
<DialogContent>
|
|
<MudPaper Class="pa-3 mb-8 border-dashed border rounded-lg">
|
|
<ConfigurationOption OptionDescription="@T("Preselect options?")" LabelOn="@T("Options are preselected")" LabelOff="@T("No options are preselected")" State="@(() => this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions)" StateUpdate="@(updatedState => this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions = updatedState)" OptionHelp="@T("When enabled, you can preselect options. This is might be useful when you prefer a specific language or LLM model.")"/>
|
|
<ConfigurationSelect OptionDescription="@T("Preselect the language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.MyTasks.PreselectedTargetLanguage)" Data="@ConfigurationSelectDataFactory.GetCommonLanguagesOptionalData()" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.MyTasks.PreselectedTargetLanguage = selectedValue)" OptionHelp="@T("Which language should be preselected?")"/>
|
|
@if (this.SettingsManager.ConfigurationData.MyTasks.PreselectedTargetLanguage is CommonLanguages.OTHER)
|
|
{
|
|
<ConfigurationText OptionDescription="@T("Preselect another language")" Disabled="@(() => !this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions)" Icon="@Icons.Material.Filled.Translate" Text="@(() => this.SettingsManager.ConfigurationData.MyTasks.PreselectOtherLanguage)" TextUpdate="@(updatedText => this.SettingsManager.ConfigurationData.MyTasks.PreselectOtherLanguage = updatedText)"/>
|
|
}
|
|
<ConfigurationSelect OptionDescription="@T("Preselect a profile")" Disabled="@(() => !this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions)" SelectedValue="@(() => ProfilePreselection.FromStoredValue(this.SettingsManager.ConfigurationData.MyTasks.PreselectedProfile))" Data="@ConfigurationSelectDataFactory.GetComponentProfilesData(this.SettingsManager.ConfigurationData.Profiles)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.MyTasks.PreselectedProfile = selectedValue)" OptionHelp="@T("Choose whether the assistant should use the app default profile, no profile, or a specific profile.")"/>
|
|
<ConfigurationMinConfidenceSelection Disabled="@(() => !this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions)" RestrictToGlobalMinimumConfidence="@true" SelectedValue="@(() => this.SettingsManager.ConfigurationData.MyTasks.MinimumProviderConfidence)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.MyTasks.MinimumProviderConfidence = selectedValue)"/>
|
|
<ConfigurationProviderSelection Component="Components.MY_TASKS_ASSISTANT" Data="@this.AvailableLLMProviders" Disabled="@(() => !this.SettingsManager.ConfigurationData.MyTasks.PreselectOptions)" SelectedValue="@(() => this.SettingsManager.ConfigurationData.MyTasks.PreselectedProvider)" SelectionUpdate="@(selectedValue => this.SettingsManager.ConfigurationData.MyTasks.PreselectedProvider = selectedValue)"/>
|
|
</MudPaper>
|
|
<ToolDefaultsConfiguration Component="Components.MY_TASKS_ASSISTANT" />
|
|
</DialogContent>
|
|
<DialogActions>
|
|
<MudButton OnClick="@this.Close" Variant="Variant.Filled">
|
|
@T("Close")
|
|
</MudButton>
|
|
</DialogActions>
|
|
</MudDialog>
|