mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-05-03 09:39:47 +00:00
Fix: Conditionally enable auto-saving and chat storing based on workspace settings
This commit is contained in:
parent
380a3f289a
commit
7106dea87c
@ -85,9 +85,12 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.SettingsManager.ConfigurationData.Workspace.StorageBehavior is WorkspaceStorageBehavior.STORE_CHATS_AUTOMATICALLY)
|
||||||
|
{
|
||||||
this.autoSaveEnabled = true;
|
this.autoSaveEnabled = true;
|
||||||
this.mustStoreChat = true;
|
this.mustStoreChat = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
|
if (this.SettingsManager.ConfigurationData.Chat.ShowLatestMessageAfterLoading)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user