From f9049a3feaede1005ebdbc4d8c91982d05ff0d40 Mon Sep 17 00:00:00 2001 From: Enrico Ros Date: Thu, 29 Jan 2026 13:36:05 -0800 Subject: [PATCH] ModelsWizard: fix build --- src/modules/llms/models-modal/ModelsWizard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/llms/models-modal/ModelsWizard.tsx b/src/modules/llms/models-modal/ModelsWizard.tsx index 8ff330092..2e4f857c9 100644 --- a/src/modules/llms/models-modal/ModelsWizard.tsx +++ b/src/modules/llms/models-modal/ModelsWizard.tsx @@ -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);