diff --git a/app/MindWork AI Studio/Components/Pages/Chat.razor.cs b/app/MindWork AI Studio/Components/Pages/Chat.razor.cs
index 6f1a403..d880982 100644
--- a/app/MindWork AI Studio/Components/Pages/Chat.razor.cs
+++ b/app/MindWork AI Studio/Components/Pages/Chat.razor.cs
@@ -56,6 +56,11 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable
// Configure the spellchecking for the user input:
this.SettingsManager.InjectSpellchecking(USER_INPUT_ATTRIBUTES);
+
+ if (this.SettingsManager.ConfigurationData.PreselectChatOptions)
+ {
+ this.providerSettings = this.SettingsManager.ConfigurationData.Providers.FirstOrDefault(x => x.Id == this.SettingsManager.ConfigurationData.PreselectedChatProvider);
+ }
await base.OnInitializedAsync();
}
diff --git a/app/MindWork AI Studio/Components/Pages/Settings.razor b/app/MindWork AI Studio/Components/Pages/Settings.razor
index 0667397..6551a72 100644
--- a/app/MindWork AI Studio/Components/Pages/Settings.razor
+++ b/app/MindWork AI Studio/Components/Pages/Settings.razor
@@ -75,6 +75,8 @@
Chat Options
+
+
Workspace Options
diff --git a/app/MindWork AI Studio/Settings/DataModel/Data.cs b/app/MindWork AI Studio/Settings/DataModel/Data.cs
index 0a1bcb5..26639b6 100644
--- a/app/MindWork AI Studio/Settings/DataModel/Data.cs
+++ b/app/MindWork AI Studio/Settings/DataModel/Data.cs
@@ -58,6 +58,16 @@ public sealed class Data
///
public SendBehavior ShortcutSendBehavior { get; set; } = SendBehavior.MODIFER_ENTER_IS_SENDING;
+ ///
+ /// Preselect any chat options?
+ ///
+ public bool PreselectChatOptions { get; set; }
+
+ ///
+ /// Should we preselect a provider for the chat?
+ ///
+ public string PreselectedChatProvider { get; set; } = string.Empty;
+
#endregion
#region Workspace Settings
diff --git a/app/MindWork AI Studio/wwwroot/changelog/v0.8.6.md b/app/MindWork AI Studio/wwwroot/changelog/v0.8.6.md
index ab409ca..5949506 100644
--- a/app/MindWork AI Studio/wwwroot/changelog/v0.8.6.md
+++ b/app/MindWork AI Studio/wwwroot/changelog/v0.8.6.md
@@ -1,3 +1,4 @@
# v0.8.6, build 168
+- Added possibility to configure a default provider for chats
- Improved the readability of the `settings.json` file by using indentation and enum names instead of numbers
- Increased the default value for the live translation delay from 1,000 to 1,500 ms
\ No newline at end of file