diff --git a/app/utils/constants.ts b/app/utils/constants.ts index 61e709b1..1e516193 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';