ModelsWizard: fix build

This commit is contained in:
Enrico Ros
2026-01-29 13:36:05 -08:00
parent 462bddc271
commit f9049a3fea
@@ -173,7 +173,7 @@ function WizardProviderSetup(props: {
// if the key is empty, remove the models
if (!newKey) {
setUpdateError(null);
setServiceLLMs(vendorServiceId, [], false, false);
setServiceLLMs(vendorServiceId, [], true, false);
return;
}
@@ -187,7 +187,7 @@ function WizardProviderSetup(props: {
if (errorText.includes('Incorrect API key'))
errorText = '[OpenAI issue] Unauthorized: Incorrect API key.';
setUpdateError(errorText);
setServiceLLMs(vendorServiceId, [], false, false);
setServiceLLMs(vendorServiceId, [], true, false);
}
setIsLoading(false);