From 8ef3e0acfaef5347a1e6c120f0590742ba5e37d6 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Thu, 21 Nov 2024 20:30:59 +0100 Subject: [PATCH] Fixed auto-save when sending assistant results to a new chat --- app/MindWork AI Studio/Pages/Chat.razor.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/app/MindWork AI Studio/Pages/Chat.razor.cs b/app/MindWork AI Studio/Pages/Chat.razor.cs index d3299537..bba11f9e 100644 --- a/app/MindWork AI Studio/Pages/Chat.razor.cs +++ b/app/MindWork AI Studio/Pages/Chat.razor.cs @@ -85,11 +85,8 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable } } - if(this.chatThread.WorkspaceId != Guid.Empty) - { - this.autoSaveEnabled = true; - this.mustStoreChat = true; - } + this.autoSaveEnabled = true; + this.mustStoreChat = true; } if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)