From ba1b5543db963e612cc4df18319df2f6f66b9d8d Mon Sep 17 00:00:00 2001 From: Dustin Loring Date: Fri, 13 Dec 2024 11:03:55 -0500 Subject: [PATCH] fix: LM Studio sending messgae LM Studio was not able to send a message now it is. --- app/utils/constants.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/utils/constants.ts b/app/utils/constants.ts index 61e709b1d..1e516193b 100644 --- a/app/utils/constants.ts +++ b/app/utils/constants.ts @@ -462,9 +462,6 @@ async function getOpenRouterModels(): Promise { } async function getLMStudioModels(_apiKeys?: Record, settings?: IProviderSetting): Promise { - if (typeof window === 'undefined') { - return []; - } try { const baseUrl = settings?.baseUrl || import.meta.env.LMSTUDIO_API_BASE_URL || 'http://localhost:1234';