mirror of
https://github.com/stackblitz/bolt.new
synced 2025-02-06 04:48:04 +00:00
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:
parent
c4f94aa517
commit
2819911b96
@ -499,8 +499,6 @@ async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: I
|
|||||||
}));
|
}));
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
logStore.logError('Failed to get LMStudio models', e, { baseUrl: settings?.baseUrl });
|
logStore.logError('Failed to get LMStudio models', e, { baseUrl: settings?.baseUrl });
|
||||||
logger.warn('Failed to get LMStudio models: ', e.message || '');
|
|
||||||
|
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user