Update constants.ts

fixes the 'WARN Constants Failed to get LMStudio models:  fetch failed' error as the user most likely just has it active in provider
This commit is contained in:
Dustin Loring 2024-12-15 15:25:31 -05:00
parent c4f94aa517
commit 2819911b96

View File

@ -499,8 +499,6 @@ async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: I
}));
} catch (e: any) {
logStore.logError('Failed to get LMStudio models', e, { baseUrl: settings?.baseUrl });
logger.warn('Failed to get LMStudio models: ', e.message || '');
return [];
}
}