From c6ab1b1b7df2d5c4024d454909fb4b40c56a2cb1 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Sat, 15 Feb 2025 15:28:10 +0100 Subject: [PATCH] Check if data sources are enabled --- app/MindWork AI Studio/Chat/ContentText.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/MindWork AI Studio/Chat/ContentText.cs b/app/MindWork AI Studio/Chat/ContentText.cs index 3679a57c..19928b43 100644 --- a/app/MindWork AI Studio/Chat/ContentText.cs +++ b/app/MindWork AI Studio/Chat/ContentText.cs @@ -44,7 +44,7 @@ public sealed class ContentText : IContent // // Check if the user wants to bind any data sources to the chat: // - if (chatThread.UseDataSources) + if (chatThread.DataSourceOptions.IsEnabled()) { // // When the user wants to bind data sources to the chat, we