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