We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bab0425 commit f5f4cc5Copy full SHA for f5f4cc5
FetchXmlBuilder/FXBInterfaces.cs
@@ -268,7 +268,11 @@ public void ShowSettings(string tab)
268
{
269
dockControlLayoutXml.PanelPane?.CloseActiveContent();
270
}
271
- if (oldaisetting != settings.AiSettings.Supplier + settings.AiSettings.Model)
+ if (string.IsNullOrWhiteSpace(settings.AiSettings.Supplier) || string.IsNullOrWhiteSpace(settings.AiSettings.Model))
272
+ {
273
+ dockControlAiChat?.Close();
274
+ }
275
+ else if (oldaisetting != settings.AiSettings.Supplier + settings.AiSettings.Model)
276
277
dockControlAiChat?.Initialize();
278
0 commit comments