Added embedding provider config (#622)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-01-09 15:41:54 +01:00
1 parent 30197cf507
commit 7110fb866f
12 files changed
+166 -26

No files matched your search

@@ -96,7 +96,7 @@ public partial class DataSourceLocalFileDialog : MSGComponentBase
#endregion
private bool SelectedCloudEmbedding => !this.SettingsManager.ConfigurationData.EmbeddingProviders.FirstOrDefault(x => x.Id == this.dataEmbeddingId).IsSelfHosted;
private bool SelectedCloudEmbedding => !this.SettingsManager.ConfigurationData.EmbeddingProviders.FirstOrDefault(x => x.Id == this.dataEmbeddingId)?.IsSelfHosted ?? false;
private DataSourceLocalFile CreateDataSource() => new()
{