Skip to content

Commit 1b8ed28

Browse files
Fixed a bug with ERI data source retrieval process loading (#514)
1 parent 87bb04e commit 1b8ed28

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

app/MindWork AI Studio/Dialogs/DataSourceERI_V1Dialog.razor.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ protected override async Task OnInitializedAsync()
106106
this.dataUsername = this.DataSource.Username;
107107
this.dataSecurityPolicy = this.DataSource.SecurityPolicy;
108108
this.dataMaxMatches = this.DataSource.MaxMatches;
109+
110+
// We cannot load the retrieval processes now, since we have
111+
// to load the data first. But while doing so, we can need to
112+
// restore the selected retrieval process id. That's why we
113+
// assign the selected retrieval id to the default retrieval process:
114+
this.dataSelectedRetrievalProcess = this.dataSelectedRetrievalProcess with { Id = this.DataSource.SelectedRetrievalId };
109115

110116
if (this.dataAuthMethod is AuthMethod.TOKEN or AuthMethod.USERNAME_PASSWORD)
111117
{

app/MindWork AI Studio/wwwroot/changelog/v0.9.49.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
- Improved the loading of some components that require data fetching, resulting in a more responsive UI.
44
- Improved some awkward phrasings in English and German.
55
- Changed the timestamp display to use the local datetime format for the chats and assistants.
6+
- Fixed a bug when editing data sources that caused the selected retrieval process of an ERI data source to not load correctly.
67
- Upgraded to Rust 1.88.0.
78
- Upgraded MudBlazor to version 8.8.0.
89
- Upgraded Pdfium to version 137.0.7215.0.

0 commit comments

Comments
 (0)