mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-23 19:27:04 +00:00
fix: lm studio fix
LM Studio was unable to receive messages sending message.
This commit is contained in:
commit
1d64a15ed0
@ -462,9 +462,6 @@ async function getOpenRouterModels(): Promise<ModelInfo[]> {
|
||||
}
|
||||
|
||||
async function getLMStudioModels(_apiKeys?: Record<string, string>, settings?: IProviderSetting): Promise<ModelInfo[]> {
|
||||
if (typeof window === 'undefined') {
|
||||
return [];
|
||||
}
|
||||
|
||||
try {
|
||||
const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';
|
||||
|
Loading…
Reference in New Issue
Block a user