Fixed another bug related to preselected options & provider validation

This commit is contained in:
Thorsten Sommer 2025-09-01 18:13:13 +02:00
parent 9bf6e55dbd
commit 38dece2d5c
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -57,6 +57,8 @@ public partial class ReadWebContent : MSGComponentBase
this.ProviderSettings = this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_TEXT_CONTENT_CLEANER, this.ProviderSettings.Id, true); this.ProviderSettings = this.SettingsManager.GetPreselectedProvider(Tools.Components.AGENT_TEXT_CONTENT_CLEANER, this.ProviderSettings.Id, true);
this.providerSettings = this.ProviderSettings; this.providerSettings = this.ProviderSettings;
this.ValidateProvider(this.useContentCleanerAgent);
await base.OnInitializedAsync(); await base.OnInitializedAsync();
} }
@ -65,6 +67,7 @@ public partial class ReadWebContent : MSGComponentBase
if (!this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions) if (!this.SettingsManager.ConfigurationData.TextContentCleaner.PreselectAgentOptions)
this.providerSettings = this.ProviderSettings; this.providerSettings = this.ProviderSettings;
this.ValidateProvider(this.useContentCleanerAgent);
await base.OnParametersSetAsync(); await base.OnParametersSetAsync();
} }