Fix issue with data source selection in chat configuration mode

This commit is contained in:
Thorsten Sommer 2025-12-18 19:35:40 +01:00
parent 1e29d42f91
commit c3646b5705
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108
2 changed files with 6 additions and 2 deletions

View File

@ -65,7 +65,7 @@ public partial class DataSourceSelection : MSGComponentBase
this.aiBasedSourceSelection = this.DataSourceOptions.AutomaticDataSourceSelection;
this.aiBasedValidation = this.DataSourceOptions.AutomaticValidation;
this.areDataSourcesEnabled = !this.DataSourceOptions.DisableDataSources;
this.waitingForDataSources = this.areDataSourcesEnabled;
this.waitingForDataSources = this.areDataSourcesEnabled && this.SelectionMode is not DataSourceSelectionMode.CONFIGURATION_MODE;
//
// Preselect the data sources. Right now, we cannot filter
@ -181,7 +181,10 @@ public partial class DataSourceSelection : MSGComponentBase
{
if(this.DataSourceOptions.DisableDataSources)
return;
if(this.SelectionMode is DataSourceSelectionMode.CONFIGURATION_MODE)
return;
this.waitingForDataSources = true;
this.StateHasChanged();

View File

@ -17,4 +17,5 @@
- Fixed a bug in the local data sources info dialog (preview feature) for data directories that could cause the app to crash. The error was caused by a background thread producing data while the frontend attempted to display it.
- Fixed a visual bug where a function's preview status was misaligned. You might have seen it in document analysis or the ERI server assistant.
- Fixed a rare bug in the Microsoft Word export for huge documents.
- Fixed a bug in the chat options that occurred when selecting default data sources. Under certain conditions, selecting data sources caused an error that required restarting the app. This preview-only feature (RAG preview) had not been released yet.
- Upgraded dependencies such as Rust, MudBlazor, and others.