mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-10-08 21:40:21 +00:00
Fixed another bug related to preselected options & provider validation
This commit is contained in:
parent
9bf6e55dbd
commit
38dece2d5c
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user