diff --git a/.gitignore b/.gitignore index 7bbcc2ea3..53eb0368f 100644 --- a/.gitignore +++ b/.gitignore @@ -37,3 +37,6 @@ modelfiles # docs ignore site + +# commit file ignore +app/commit.json \ No newline at end of file diff --git a/app/commit.json b/app/commit.json index b292f05d3..efae9f0a6 100644 --- a/app/commit.json +++ b/app/commit.json @@ -1 +1 @@ -{ "commit": "56944de6337f5283f96f197e11432fee32c085b9" } +{ "commit": "1d64a15ed0110fc62091b1dca90139de9fb9fdb4" } 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';