mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-02-12 07:01:37 +00:00
Fix provider reset
This commit is contained in:
parent
25fc742a6f
commit
48525857e0
@ -179,6 +179,17 @@ public partial class DocumentAnalysisAssistant : AssistantBaseCore<NoSettingsPan
|
||||
this.policyPreselectedProfileId = Profile.NO_PROFILE.Id;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ResetProviderAndProfileSelection()
|
||||
{
|
||||
if (this.selectedPolicy is null)
|
||||
{
|
||||
base.ResetProviderAndProfileSelection();
|
||||
return;
|
||||
}
|
||||
|
||||
this.ApplyPolicyPreselection(preferPolicyPreselection: true);
|
||||
}
|
||||
|
||||
protected override bool MightPreselectValues()
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user